From 5e5fff1b04bc5c51d4010d52b001777806fff57d Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Tue, 10 Sep 2024 06:21:36 +0000 Subject: [PATCH] readme & setup: minor changes to the run command and fix an error in setup-linux.sh Signed-off-by: jiaxiao zhou --- README.md | 2 +- scripts/setup-linux.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f06ff28..7bdda8dc 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ make setup # setup linux environment Build, install, and run the shim binary: ```bash -make run-spin # run the shim binary +make run # run the shim binary ``` You may open another terminal and run the following command to test the shim: diff --git a/scripts/setup-linux.sh b/scripts/setup-linux.sh index 071f8fc2..6d2b3150 100755 --- a/scripts/setup-linux.sh +++ b/scripts/setup-linux.sh @@ -3,10 +3,11 @@ sudo apt -y update sudo apt-get install -y protobuf-compiler libseccomp-dev echo "setting up rust" -sudo rustup toolchain install --component clippy --component rustfmt --no-self-update +sudo rustup toolchain install --component clippy --component rustfmt --no-self-update stable 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" wget https://github.com/tinygo-org/tinygo/releases/download/v0.30.0/tinygo_0.30.0_amd64.deb sudo dpkg -i tinygo_0.30.0_amd64.deb +rm tinygo_0.30.0_amd64.deb