rust: update to 1.34.0.

This commit is contained in:
Johannes 2019-04-11 20:56:10 +02:00
parent 41b440c1e6
commit c46aebb90a

View file

@ -1,6 +1,6 @@
# Template file for 'rust'
pkgname=rust
version=1.33.0
version=1.34.0
revision=1
_rust_dist_version=1.33.0
_cargo_dist_version=0.33.0
@ -18,13 +18,14 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT, Apache-2.0"
homepage="https://www.rust-lang.org/"
distfiles="https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz"
checksum=5a01a8d7e65126f6079042831385e77485fa5c014bf217e9f3e4aff36a485d94
checksum=7ac85acffd79dd3a7c44305d9eaabd1f1e7116e2e6e11e770e4bf5f92c0f1f59
lib32disabled=yes
patch_args="-Np1"
build_options="internal_llvm"
if [ "$CROSS_BUILD" ]; then
broken="build host rustc first"
hostmakedepends+=" cargo $(vopt_if internal_llvm '' llvm)"
# These are required for building the buildhost's stage0/1
@ -117,14 +118,14 @@ post_extract() {
post_patch() {
if [ "$build_option_internal_llvm" ]; then
# patches for Rust's bundled LLVM
pushd src/llvm
pushd src/llvm-project/llvm
for x in ${FILESDIR}/patches/internal-llvm/llvm-*.patch; do
msg_normal "Applying $x to llvm\n"
patch -sNp1 -i ${x}
done
popd
else
rm -rf src/llvm
rm -rf src/llvm-project
# patches for system LLVM
for x in ${FILESDIR}/patches/sys-llvm/*.patch; do
msg_normal "Applying patch $x\n"