diff --git a/packages/rust/build.sh b/packages/rust/build.sh index 3273e4434..e85c62822 100644 --- a/packages/rust/build.sh +++ b/packages/rust/build.sh @@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://www.rust-lang.org/ TERMUX_PKG_DESCRIPTION="Systems programming language focused on safety, speed and concurrency" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Kevin Cotugno @kcotugno" -TERMUX_PKG_VERSION=1.34.0 -TERMUX_PKG_SHA256=a510b3b7ceca370a4b395065039b2a70297e3fb4103b7ff67b1eff771fd98504 +TERMUX_PKG_VERSION=1.34.1 +TERMUX_PKG_SHA256=e0efb1e6aba0d4900de57bd2db64e32e7c5b440a95a675d5303839c9a2c3328f TERMUX_PKG_SRCURL=https://static.rust-lang.org/dist/rustc-$TERMUX_PKG_VERSION-src.tar.xz TERMUX_PKG_DEPENDS="clang, openssl, lld, zlib" diff --git a/packages/rust/config.toml b/packages/rust/config.toml index bc6ebac57..f72b0dc6c 100644 --- a/packages/rust/config.toml +++ b/packages/rust/config.toml @@ -31,7 +31,7 @@ channel = "stable" rpath = false [target.x86_64-unknown-linux-gnu] -llvm-config = "/usr/bin/llvm-config-7" +llvm-config = "/usr/bin/llvm-config-8" [target.@triple@] diff --git a/scripts/build/setup/termux_setup_rust.sh b/scripts/build/setup/termux_setup_rust.sh index 4344ba33e..202cb650a 100644 --- a/scripts/build/setup/termux_setup_rust.sh +++ b/scripts/build/setup/termux_setup_rust.sh @@ -11,8 +11,10 @@ termux_setup_rust() { curl https://sh.rustup.rs -sSf > $TERMUX_PKG_TMPDIR/rustup.sh - sh $TERMUX_PKG_TMPDIR/rustup.sh -y --default-toolchain 1.34.0 + local _TOOLCHAIN_VERSION=1.34.1 + + sh $TERMUX_PKG_TMPDIR/rustup.sh -y --default-toolchain $_TOOLCHAIN_VERSION export PATH=$HOME/.cargo/bin:$PATH - rustup install 1.34.0-x86_64-unknown-linux-gnu + rustup install $_TOOLCHAIN_VERSION-x86_64-unknown-linux-gnu rustup target add $CARGO_TARGET_NAME }