mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
101f5ec393
This reverts commit 2601392d6a.
17 lines
402 B
Bash
Executable File
17 lines
402 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "*** Initialising WASM build environment"
|
|
|
|
if [ -z $CI_PROJECT_NAME ] ; then
|
|
rustup update nightly
|
|
rustup update stable
|
|
fi
|
|
|
|
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 --force
|