Skip to content

Commit

Permalink
add wasm32-wasi target
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Sep 12, 2024
1 parent 2a4ec49 commit 498b9ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/scripts/install_rust_from_global_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ echo "Installing Rust version $RUST_VERSION"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_VERSION"
source $HOME/.cargo/env

rustup target add wasm32-wasi

# Extract the wasi2ic version and repository URL
WASI2IC_LINE=$(grep 'wasi2ic version:' "$GLOBAL_DEPENDENCIES_FILE")
WASI2IC_VERSION=$(echo "$WASI2IC_LINE" | awk -F' ' '{print $4}')
Expand All @@ -34,5 +36,6 @@ cargo install --git "$WASI2IC_URL"
rustc --version
cargo --version

# Confirm installation
rustup target list --installed | grep wasm32-wasi

cargo install --list | grep wasi2ic

0 comments on commit 498b9ec

Please sign in to comment.