1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 15:47:06 +00:00

Use specific version when setting up rust

This makes for more reproducible builds.
This commit is contained in:
Fredrik Fornwall 2019-03-01 21:36:43 +01:00
parent 0ca5137581
commit 73f4a8dbdb

View File

@ -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