Skip to content

Commit

Permalink
address review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <rajatjindal83@gmail.com>
  • Loading branch information
rajatjindal committed Apr 29, 2024
1 parent a17a812 commit c60922a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions images/spin-multi-trigger-app/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ component = "spin-http-trigger"
source = "spin-http-trigger/target/wasm32-wasi/release/spin_http_trigger.wasm"
allowed_outbound_hosts = []
[component.spin-http-trigger.build]
command = "cd spin-http-trigger && cargo build --target wasm32-wasi --release && cd -"
command = "cargo build --target wasm32-wasi --release --manifest-path spin-http-trigger/Cargo.toml"
watch = ["src/**/*.rs", "Cargo.toml"]

[application.trigger.redis]
Expand All @@ -28,4 +28,4 @@ component = "spin-redis-trigger"
source = "spin-redis-trigger/target/wasm32-wasi/release/spin_redis_trigger.wasm"
allowed_outbound_hosts = ["redis://redis-service.default.svc.cluster.local:6379"]
[component.spin-redis-trigger.build]
command = "cd spin-redis-trigger && cargo build --target wasm32-wasi --release && cd -"
command = "cargo build --target wasm32-wasi --release --manifest-path spin-redis-trigger/Cargo.toml"
2 changes: 1 addition & 1 deletion scripts/setup-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sudo apt-get install -y protobuf-compiler libseccomp-dev
echo "setting up rust"
sudo rustup toolchain install 1.74 --component clippy --component rustfmt --no-self-update
sudo rustup default 1.74
sudo rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
sudo rustup target add wasm32-wasi && sudo rustup target add wasm32-unknown-unknown

## setup tinygo. required for building test spin app
echo "setting up tinygo"
Expand Down

0 comments on commit c60922a

Please sign in to comment.