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:
parent
0ca5137581
commit
73f4a8dbdb
|
@ -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…
Reference in New Issue
Block a user