Browse Source

rust: Update from 1.34.0 to 1.34.1

android-5
Fredrik Fornwall 6 years ago
parent
commit
eb799ac13f
  1. 4
      packages/rust/build.sh
  2. 2
      packages/rust/config.toml
  3. 6
      scripts/build/setup/termux_setup_rust.sh

4
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"

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

6
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
}

Loading…
Cancel
Save