Skip to content

Commit 181f6f8

Browse files
committed
address review feedback
Signed-off-by: Rajat Jindal <[email protected]>
1 parent ddffad4 commit 181f6f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

images/spin-multi-trigger-app/spin.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ component = "spin-http-trigger"
1414
source = "spin-http-trigger/target/wasm32-wasi/release/spin_http_trigger.wasm"
1515
allowed_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"
1818
watch = ["src/**/*.rs", "Cargo.toml"]
1919

2020
[application.trigger.redis]
@@ -28,4 +28,4 @@ component = "spin-redis-trigger"
2828
source = "spin-redis-trigger/target/wasm32-wasi/release/spin_redis_trigger.wasm"
2929
allowed_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"

scripts/setup-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sudo apt-get install -y protobuf-compiler libseccomp-dev
55
echo "setting up rust"
66
sudo rustup toolchain install 1.74 --component clippy --component rustfmt --no-self-update
77
sudo 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
1111
echo "setting up tinygo"

0 commit comments

Comments
 (0)