diff --git a/scripts/install-build-deps.sh b/scripts/install-build-deps.sh index a25ee967..a5207e8f 100755 --- a/scripts/install-build-deps.sh +++ b/scripts/install-build-deps.sh @@ -12,6 +12,9 @@ BINDGEN_REPO=https://github.com/rustwasm/wasm-bindgen BINDGEN_VER=0.2.100 BINDGEN_ZIP= + + + BINARYEN_REPO=https://github.com/WebAssembly/binaryen BINARYEN_VER=version_123 BINARYEN_ZIP= @@ -24,7 +27,10 @@ unamestr=`uname` # toolchain with rust-src (for panic overrdides) and the right wasm32 toolchain rustup toolchain install $RUST_VER -c rust-src -t wasm32-unknown-unknown -rustup default $RUST_VER +rustup toolchain install $NIGHTLY_VER +rustup default $NIGHTLY_VER + +rustup show if [ "$RUST_VER" != "stable" ]; then cargo install xargo diff --git a/scripts/rust-version.sh b/scripts/rust-version.sh index 4f20c43a..9e96a0d5 100755 --- a/scripts/rust-version.sh +++ b/scripts/rust-version.sh @@ -3,6 +3,8 @@ # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. -RUST_VER=nightly-2024-11-22 +RUST_VER=stable # RUST_VER=stable +NIGHTLY_VER=nightly-2024-11-22 +