summaryrefslogtreecommitdiff
path: root/testing/source/rust/rust.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/rust/rust.SlackBuild')
-rwxr-xr-xtesting/source/rust/rust.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/source/rust/rust.SlackBuild b/testing/source/rust/rust.SlackBuild
index b76374cf..2dee9b21 100755
--- a/testing/source/rust/rust.SlackBuild
+++ b/testing/source/rust/rust.SlackBuild
@@ -26,17 +26,17 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
-VERSION=${VERSION:-1.38.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.39.0}
+BUILD=${BUILD:-1}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
# YES is probably better (when it works...)
SYSTEM_LLVM=${SYSTEM_LLVM:-YES}
# Bootstrap variables (might not be kept updated for latest Rust):
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.37.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2019-08-15}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.38.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.38.0}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2019-09-26}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.39.0}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
# Automatically determine the architecture we're building on:
@@ -150,6 +150,7 @@ fi
# Try to debloat the build:
zcat $CWD/0001-WIP-minimize-the-rust-std-component.patch.gz | patch -p1 --verbose || exit 1
+zcat $CWD/hack.diff.gz | patch -p1 --verbose || exit 1
if [ "$LOCAL_BOOTSTRAP" != "yes" ] ; then
# rust requires bootstrapping with the previous rust version.