Skip to content

Commit 5a663cd

Browse files
committed
fix(templates/http-go): enable GC on builds
The TinyGo GC seems to be working now. Signed-off-by: Adam Reese <[email protected]>
1 parent 4223521 commit 5a663cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/http-go/content/spin.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ component = "{{project-name | kebab_case}}"
1414
source = "main.wasm"
1515
allowed_outbound_hosts = []
1616
[component.{{project-name | kebab_case}}.build]
17-
command = "tinygo build -target=wasip1 -gc=leaking -buildmode=c-shared -no-debug -o main.wasm ."
17+
command = "tinygo build -target=wasip1 -buildmode=c-shared -no-debug -o main.wasm ."
1818
watch = ["**/*.go", "go.mod"]

0 commit comments

Comments
 (0)