Explicitly set RUSTUP_TOOLCHAIN to 1.64.0

Core is supposed to support all Rust versions above
MSRV, there is no need to use the same toolchain for
the core across all platforms.
This commit is contained in:
link2xt 2022-12-25 22:40:09 +00:00
parent d72c0eebb7
commit 78aada7027
4 changed files with 10 additions and 9 deletions

View file

@ -4,6 +4,6 @@
#
set -e
TARGETS="armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android"
TOOLCHAIN="$(cat jni/deltachat-core-rust/rust-toolchain)"
rustup install "$TOOLCHAIN"
rustup target add $TARGETS --toolchain "$TOOLCHAIN"
RUSTUP_TOOLCHAIN=$(cat "$(dirname "$0")/rust-toolchain")
rustup install "$RUSTUP_TOOLCHAIN"
rustup target add $TARGETS --toolchain "$RUSTUP_TOOLCHAIN"