diff --git a/samples/pi/build.gradle.kts b/samples/pi/build.gradle.kts index 89c948078..3b6d429c2 100644 --- a/samples/pi/build.gradle.kts +++ b/samples/pi/build.gradle.kts @@ -39,6 +39,9 @@ teavm { outputDir = layout.buildDirectory.dir("libs/wasi").get().asFile relativePathInOutputDir = "" } + wasmGC { + addedToWebApp = true + } all { mainClass = "org.teavm.samples.pi.PiCalculator" } diff --git a/samples/pi/src/main/webapp/index.html b/samples/pi/src/main/webapp/index.html index 4c338da42..4a77689fa 100644 --- a/samples/pi/src/main/webapp/index.html +++ b/samples/pi/src/main/webapp/index.html @@ -24,6 +24,7 @@