From 24a46c7262a2a2679eac0cf4f38c0d0a1543f119 Mon Sep 17 00:00:00 2001 From: Valentin Fernandez <33705477+valentinfernandez1@users.noreply.github.com> Date: Wed, 13 Aug 2025 11:01:17 -0300 Subject: [PATCH] Setup nightly as default (#592) * run CI * run CI * setup nightly as default * install nightly-2024-11-22 * rustup show --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- scripts/install-build-deps.sh | 8 +++++++- scripts/rust-version.sh | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) 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 +