File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 11# Install Rustup Installer
22curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
33
4- # Install rust and other components
5- readonly RUST_UP_PATH=$HOME /.cargo/bin
6- $RUST_UP_PATH /rustup update stable && $RUST_UP_PATH /rustup default stable && $RUST_UP_PATH /rustup component add clippy rustfmt
7-
8- # Install wasm32-wasi target
9- $RUST_UP_PATH /rustup target add wasm32-wasi wasm32-unknown-unknown
10-
114# Install k3d
125curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
Original file line number Diff line number Diff line change 11[toolchain ]
22channel = " 1.85.0"
33components = [" clippy" , " rustfmt" ]
4- targets = [" wasm32-wasi " , " wasm32-unknown-unknown" ]
4+ targets = [" wasm32-wasip1 " , " wasm32-unknown-unknown" ]
55profile = " default"
Original file line number Diff line number Diff line change 22sudo apt -y update
33sudo apt-get install -y protobuf-compiler libseccomp-dev
44
5- echo " setting up rust"
6- sudo rustup toolchain install --component clippy --component rustfmt --no-self-update stable
7- sudo rustup target add wasm32-wasi && sudo rustup target add wasm32-unknown-unknown
8-
95# # setup tinygo. required for building test spin app
106echo " setting up tinygo"
117wget https://github.com/tinygo-org/tinygo/releases/download/v0.34.0/tinygo_0.34.0_amd64.deb
You can’t perform that action at this time.
0 commit comments