Skip to content

Commit

Permalink
Merge pull request #2950 from itowlson/really-really-really-wanna-zig…
Browse files Browse the repository at this point in the history
…-to-pass-integration-tests

Fix C and Zig templates
  • Loading branch information
lann authored Dec 11, 2024
2 parents abba523 + 6397c5e commit 1f2269b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/http-c/content/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ executor = { type = "wagi" }
source = "main.wasm"
allowed_outbound_hosts = []
[component.{{project-name | kebab_case}}.build]
command = "zig build-exe -O ReleaseSmall -target wasm32-wasip1 main.c -lc"
command = "zig build-exe -O ReleaseSmall -target wasm32-wasi main.c -lc"
watch = ["**/*.c"]
2 changes: 1 addition & 1 deletion templates/http-zig/content/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ executor = { type = "wagi" }
source = "main.wasm"
allowed_outbound_hosts = []
[component.{{project-name | kebab_case}}.build]
command = "zig build-exe -O ReleaseSmall -target wasm32-wasip1 src/main.zig"
command = "zig build-exe -O ReleaseSmall -target wasm32-wasi src/main.zig"
watch = ["src/**/*.zig"]

0 comments on commit 1f2269b

Please sign in to comment.