mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 11:47:59 +00:00
update init script (#211)
This commit is contained in:
committed by
Bastian Köcher
parent
3730851bc9
commit
33df0a4adf
@@ -2,16 +2,13 @@
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Initialising WASM build environment"
|
||||
echo "*** Initializing WASM build environment"
|
||||
|
||||
rustup update nightly
|
||||
rustup target add wasm32-unknown-unknown --toolchain nightly
|
||||
# Temporarily install llvm-tools.
|
||||
# See https://github.com/rust-lang/rust/issues/53813
|
||||
# TODO: Remove this when fixed.
|
||||
rustup component add llvm-tools-preview --toolchain nightly
|
||||
rustup update stable
|
||||
|
||||
rustup target add wasm32-unknown-unknown --toolchain nightly
|
||||
|
||||
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
|
||||
command -v wasm-gc || \
|
||||
cargo +nightly install --git https://github.com/alexcrichton/wasm-gc
|
||||
cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force
|
||||
|
||||
Reference in New Issue
Block a user