diff --git a/templates/http-c/content/spin.toml b/templates/http-c/content/spin.toml index 6fef68334f..c71c6bedfb 100644 --- a/templates/http-c/content/spin.toml +++ b/templates/http-c/content/spin.toml @@ -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"] diff --git a/templates/http-zig/content/spin.toml b/templates/http-zig/content/spin.toml index e324e47c83..ae28cc3f02 100644 --- a/templates/http-zig/content/spin.toml +++ b/templates/http-zig/content/spin.toml @@ -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"]