summaryrefslogtreecommitdiffstats
path: root/source/d/rust
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/rust')
-rwxr-xr-xsource/d/rust/rust.SlackBuild8
-rw-r--r--source/d/rust/rust.url20
2 files changed, 16 insertions, 12 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index 6c3aa640f..8d768eaa7 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
-VERSION=${VERSION:-1.48.0}
+VERSION=${VERSION:-1.49.0}
BUILD=${BUILD:-1}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
@@ -34,9 +34,9 @@ BUILD=${BUILD:-1}
SYSTEM_LLVM=${SYSTEM_LLVM:-YES}
# Bootstrap variables (might not be kept updated for latest Rust):
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.47.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2020-10-08}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.48.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.48.0}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2020-11-19}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-1.48.0}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
# Automatically determine the architecture we're building on:
diff --git a/source/d/rust/rust.url b/source/d/rust/rust.url
index 5c5e8f142..17927fa19 100644
--- a/source/d/rust/rust.url
+++ b/source/d/rust/rust.url
@@ -1,5 +1,5 @@
# Source code (repacked to .tar.lz):
-VERSION=1.48.0
+VERSION=1.49.0
rm -f rustc-${VERSION}-src.tar.*
lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz
lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz.asc
@@ -17,16 +17,20 @@ fi
# should be able to compile the next released version of Rust.
#
# To find the expected date/versions for bootstrap binaries to be able to
-# update the urls below, look at src/stage0.txt in the Rust sources.
+# update the settings below, look at src/stage0.txt in the Rust sources.
exit 0
+BOOTSTRAP_DATE=2020-11-19
+BOOTSTRAP_CARGO=1.48.0
+BOOTSTRAP_VERSION=1.48.0
+
# i686 bootstrap:
-lftpget https://static.rust-lang.org/dist/2020-10-08/cargo-0.48.0-i686-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2020-10-08/rust-std-1.47.0-i686-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2020-10-08/rustc-1.47.0-i686-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-i686-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rust-std-${BOOTSTRAP_VERSION}-i686-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VERSION}-i686-unknown-linux-gnu.tar.gz
# x86_64 bootstrap:
-lftpget https://static.rust-lang.org/dist/2020-10-08/cargo-0.48.0-x86_64-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2020-10-08/rust-std-1.47.0-x86_64-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2020-10-08/rustc-1.47.0-x86_64-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-x86_64-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rust-std-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.gz