2020-08-24 22:48:03 +02:00
|
|
|
# Source code (repacked to .tar.lz):
|
2022-07-05 22:33:18 +02:00
|
|
|
VERSION=1.62.0
|
2020-08-24 22:48:03 +02:00
|
|
|
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
|
|
|
|
if gpg --verify rustc-${VERSION}-src.tar.gz.asc ; then
|
|
|
|
rm -f rustc-${VERSION}-src.tar.gz.asc
|
|
|
|
gzip -d rustc-*tar.gz
|
|
|
|
plzip -9 -v rustc-*tar
|
|
|
|
else
|
|
|
|
echo "FATAL ERROR: Not recompressing since GPG signature failed."
|
|
|
|
exit 1
|
|
|
|
fi
|
2018-05-28 21:12:29 +02:00
|
|
|
|
|
|
|
# Please note that the bootstrap binary packages listed below might not be kept
|
|
|
|
# updated for later versions. The Rust compiler as shipped with Slackware
|
|
|
|
# should be able to compile the next released version of Rust.
|
|
|
|
#
|
|
|
|
# To find the expected date/versions for bootstrap binaries to be able to
|
2022-01-16 08:23:29 +01:00
|
|
|
# update the settings below, look at src/stage0.json in the Rust sources.
|
2018-05-28 21:12:29 +02:00
|
|
|
exit 0
|
|
|
|
|
2022-07-05 22:33:18 +02:00
|
|
|
BOOTSTRAP_DATE=2022-05-19
|
|
|
|
BOOTSTRAP_VERSION=1.61.0
|
2022-01-16 08:23:29 +01:00
|
|
|
BOOTSTRAP_CARGO=$BOOTSTRAP_VERSION
|
2021-01-20 04:08:10 +01:00
|
|
|
|
2018-05-28 21:12:29 +02:00
|
|
|
# i686 bootstrap:
|
2021-06-18 22:33:08 +02:00
|
|
|
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-i686-unknown-linux-gnu.tar.xz
|
|
|
|
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rust-std-${BOOTSTRAP_VERSION}-i686-unknown-linux-gnu.tar.xz
|
|
|
|
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VERSION}-i686-unknown-linux-gnu.tar.xz
|
2018-05-28 21:12:29 +02:00
|
|
|
|
|
|
|
# x86_64 bootstrap:
|
2021-06-18 22:33:08 +02:00
|
|
|
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-x86_64-unknown-linux-gnu.tar.xz
|
|
|
|
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rust-std-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.xz
|
|
|
|
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.xz
|