From 5a85bf421a42ccff7e6623d2ffbc87d32567e8ee Mon Sep 17 00:00:00 2001 From: Antonio Date: Wed, 11 Jan 2023 11:08:57 +0100 Subject: [PATCH] fix: toolchain version (#447) --- rust-toolchain.toml | 2 +- scripts/init.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2e86ab21a..f5c70e287 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2023-10-09" +channel = "nightly-2022-10-09" components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ] diff --git a/scripts/init.sh b/scripts/init.sh index d0429d3ae..c5597c170 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -5,9 +5,9 @@ set -e echo "*** Initializing WASM build environment" if [ -z $CI_PROJECT_NAME ] ; then - rustup install nightly-2023-10-09 + rustup install nightly-2022-10-09 rustup update stable fi -rustup target add wasm32-unknown-unknown --toolchain nightly-2023-10-09 +rustup target add wasm32-unknown-unknown --toolchain nightly-2022-10-09 rustup target add wasm32-unknown-unknown --toolchain stable -rustup override set nightly-2023-10-09 --path $BASEDIR/.. +rustup override set nightly-2022-10-09 --path $BASEDIR/..