Skip to content

Commit 9bcec7b

Browse files
authored
Merge pull request #3131 from adamreese/fix/go-template-gc
fix(templates/http-go): enable GC on builds
2 parents 9075378 + 5a663cd commit 9bcec7b

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)