Skip to content

Commit 1f2269b

Browse files
authored
Merge pull request #2950 from itowlson/really-really-really-wanna-zig-to-pass-integration-tests
Fix C and Zig templates
2 parents abba523 + 6397c5e commit 1f2269b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/http-c/content/spin.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ executor = { type = "wagi" }
1515
source = "main.wasm"
1616
allowed_outbound_hosts = []
1717
[component.{{project-name | kebab_case}}.build]
18-
command = "zig build-exe -O ReleaseSmall -target wasm32-wasip1 main.c -lc"
18+
command = "zig build-exe -O ReleaseSmall -target wasm32-wasi main.c -lc"
1919
watch = ["**/*.c"]

templates/http-zig/content/spin.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ executor = { type = "wagi" }
1515
source = "main.wasm"
1616
allowed_outbound_hosts = []
1717
[component.{{project-name | kebab_case}}.build]
18-
command = "zig build-exe -O ReleaseSmall -target wasm32-wasip1 src/main.zig"
18+
command = "zig build-exe -O ReleaseSmall -target wasm32-wasi src/main.zig"
1919
watch = ["src/**/*.zig"]

0 commit comments

Comments
 (0)