File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
images/spin-multi-trigger-app Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ component = "spin-http-trigger"
1414source = " spin-http-trigger/target/wasm32-wasi/release/spin_http_trigger.wasm"
1515allowed_outbound_hosts = []
1616[component .spin-http-trigger .build ]
17- command = " cd spin-http-trigger && cargo build --target wasm32-wasi --release && cd - "
17+ command = " cargo build --target wasm32-wasi --release --manifest-path spin-http-trigger/Cargo.toml "
1818watch = [" src/**/*.rs" , " Cargo.toml" ]
1919
2020[application .trigger .redis ]
@@ -28,4 +28,4 @@ component = "spin-redis-trigger"
2828source = " spin-redis-trigger/target/wasm32-wasi/release/spin_redis_trigger.wasm"
2929allowed_outbound_hosts = [" redis://redis-service.default.svc.cluster.local:6379" ]
3030[component .spin-redis-trigger .build ]
31- command = " cd spin-redis-trigger && cargo build --target wasm32-wasi --release && cd - "
31+ command = " cargo build --target wasm32-wasi --release --manifest-path spin-redis-trigger/Cargo.toml "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ sudo apt-get install -y protobuf-compiler libseccomp-dev
55echo " setting up rust"
66sudo rustup toolchain install 1.74 --component clippy --component rustfmt --no-self-update
77sudo rustup default 1.74
8- sudo rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
8+ sudo rustup target add wasm32-wasi && sudo rustup target add wasm32-unknown-unknown
99
1010# # setup tinygo. required for building test spin app
1111echo " setting up tinygo"
You can’t perform that action at this time.
0 commit comments