Skip to content

Commit

Permalink
Squashed and signed.
Browse files Browse the repository at this point in the history
Signed-off-by: Suneet Nangia <[email protected]>
  • Loading branch information
suneetnangia committed Apr 24, 2023
1 parent d6be138 commit 88353ba
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .devcontainer/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Installs latest stable toolchain for Rust and clippy/fmt for this toolchain
rustup update stable && rustup default stable && rustup component add clippy rustfmt

# Installs wasm32 compiler targets
rustup target add wasm32-wasi wasm32-unknown-unknown
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "rustup target add wasm32-wasi",
"postCreateCommand": "sh ./.devcontainer/bootstrap.sh",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions examples/spin-timer/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88353ba

Please sign in to comment.