@@ -23,34 +23,34 @@ route = "/hello"
2323component = " hello-component"
2424
2525[component .outbound-http ]
26- source = " ../../target/wasm32-wasi /release/http_rust_outbound_http.wasm"
26+ source = " ../../target/wasm32-wasip1 /release/http_rust_outbound_http.wasm"
2727allowed_outbound_hosts = [
2828 " https://random-data-api.fermyon.app" ,
2929 " http://foo.com" ,
3030 " https://foo.com" ,
3131]
3232[component .outbound-http .build ]
3333workdir = " outbound-http"
34- command = " cargo build --target wasm32-wasi --release"
34+ command = " cargo build --target wasm32-wasip1 --release"
3535
3636[component .outbound-http-wildcard ]
37- source = " ../../target/wasm32-wasi /release/http_rust_outbound_http.wasm"
37+ source = " ../../target/wasm32-wasip1 /release/http_rust_outbound_http.wasm"
3838allowed_outbound_hosts = [" https://*:*" ]
3939[component .outbound-http-wildcard .build ]
4040workdir = " outbound-http"
41- command = " cargo build --target wasm32-wasi --release"
41+ command = " cargo build --target wasm32-wasip1 --release"
4242
4343[component .outbound-http-to-same-app ]
44- source = " ../../target/wasm32-wasi /release/outbound_http_to_same_app.wasm"
44+ source = " ../../target/wasm32-wasip1 /release/outbound_http_to_same_app.wasm"
4545# To make outbound calls to components in the same Spin app, use the special value self.
4646allowed_outbound_hosts = [" http://self" ]
4747[component .outbound-http-to-same-app .build ]
4848workdir = " outbound-http-to-same-app"
49- command = " cargo build --target wasm32-wasi --release"
49+ command = " cargo build --target wasm32-wasip1 --release"
5050
5151[component .hello-component ]
52- source = " ../../target/wasm32-wasi /release/http_hello.wasm"
52+ source = " ../../target/wasm32-wasip1 /release/http_hello.wasm"
5353description = " A simple component that returns hello."
5454[component .hello-component .build ]
5555workdir = " http-hello"
56- command = " cargo build --target wasm32-wasi --release"
56+ command = " cargo build --target wasm32-wasip1 --release"
0 commit comments