Browse Source

Use specific version when setting up rust

This makes for more reproducible builds.
android-5
Fredrik Fornwall 6 years ago
parent
commit
4b01da699f
  1. 2
      scripts/build/setup/termux_setup_rust.sh

2
scripts/build/setup/termux_setup_rust.sh

@ -10,7 +10,7 @@ termux_setup_rust() {
export $ENV_NAME=$CC
curl https://sh.rustup.rs -sSf > $TERMUX_PKG_TMPDIR/rustup.sh
sh $TERMUX_PKG_TMPDIR/rustup.sh -y
sh $TERMUX_PKG_TMPDIR/rustup.sh -y --default-toolchain 1.32.0
export PATH=$HOME/.cargo/bin:$PATH
rustup target add $CARGO_TARGET_NAME

Loading…
Cancel
Save