From 5a663cd0b629a98b684beab44d415f22bd5caf2c Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Mon, 5 May 2025 11:41:15 -0700 Subject: [PATCH] fix(templates/http-go): enable GC on builds The TinyGo GC seems to be working now. Signed-off-by: Adam Reese --- templates/http-go/content/spin.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/http-go/content/spin.toml b/templates/http-go/content/spin.toml index 73d06e2d14..61488f7712 100644 --- a/templates/http-go/content/spin.toml +++ b/templates/http-go/content/spin.toml @@ -14,5 +14,5 @@ component = "{{project-name | kebab_case}}" source = "main.wasm" allowed_outbound_hosts = [] [component.{{project-name | kebab_case}}.build] -command = "tinygo build -target=wasip1 -gc=leaking -buildmode=c-shared -no-debug -o main.wasm ." +command = "tinygo build -target=wasip1 -buildmode=c-shared -no-debug -o main.wasm ." watch = ["**/*.go", "go.mod"]