forked from kiss-community/repo
rust: 1.65.0
This commit is contained in:
parent
9d776e0cfe
commit
e96e528d54
|
@ -39,14 +39,18 @@ profiler = false
|
||||||
full-bootstrap = false
|
full-bootstrap = false
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# If possible, use system rust to bootstrap.
|
||||||
maj="${2%%.*}"
|
maj="${2%%.*}"
|
||||||
min="${2%.*}"
|
min="${2%.*}"
|
||||||
min="${min#*.}"
|
min="${min#*.}"
|
||||||
|
|
||||||
|
# Fall back to vendor binaries if rustc, et al are not present, or if one of
|
||||||
|
# them suffered ABI breakage.
|
||||||
rust_version=$(rustc --version 2>/dev/null) || rust_version=null
|
rust_version=$(rustc --version 2>/dev/null) || rust_version=null
|
||||||
|
cargo --version 2>/dev/null || rust_version=null
|
||||||
|
rustfmt --version 2>/dev/null || rust_version=null
|
||||||
rust_version="${rust_version#rustc }"
|
rust_version="${rust_version#rustc }"
|
||||||
|
|
||||||
# If possible, use system rust to bootstrap.
|
|
||||||
case "$rust_version" in
|
case "$rust_version" in
|
||||||
"$maj.$min".*|"$maj.$((min - 1))".*)
|
"$maj.$min".*|"$maj.$((min - 1))".*)
|
||||||
cat >> config.toml <<EOF
|
cat >> config.toml <<EOF
|
||||||
|
@ -60,7 +64,7 @@ EOF
|
||||||
# This mimics the download process of rust's 'x.py'
|
# This mimics the download process of rust's 'x.py'
|
||||||
# bootstrap library to allow for the removal of the internet
|
# bootstrap library to allow for the removal of the internet
|
||||||
# connection requirement per build.
|
# connection requirement per build.
|
||||||
mkdir -p "${cache_dir:=build/cache/2022-08-11}"
|
mkdir -p "${cache_dir:=build/cache/2022-09-22}"
|
||||||
|
|
||||||
for tarball in *.tar.xz\?no-extract; do
|
for tarball in *.tar.xz\?no-extract; do
|
||||||
mv -f "$tarball" "$cache_dir/${tarball%%\?no-extract}"
|
mv -f "$tarball" "$cache_dir/${tarball%%\?no-extract}"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
e8170d318fac9d2fc17d5c3e648e7068f56e8db8d233d864aeffbef7c6542eac
|
2d6aa2ea3fedd55acbbd65f78349385f9daa9c14e25db7a8df5d015588eee1cf
|
||||||
6fcfa4f9a51d35bf2c5c92ac15c688baa8c98d9fded05ab6abfdae85cb5aed8c
|
29af13a882abbe797fadd43afcb75bce2e2304438db9e21a3e64a2e9100501fb
|
||||||
b6566a9b1dafe03cf4a01b58b2db0e14a0044ae5773736827882bd549108277e
|
5177d749b5dcc74596e314b73c5f3f3eabed8b3e207f812f229fbf0682c162ae
|
||||||
6f6ce044832a2433c250f4f27a61f69081e2b0f7e4e1f141492c2ce99ee8511e
|
01d06176fd894b9299ed4f5b78e87d78a9a25b9ba803d3f8c50b7a4ea21d8807
|
||||||
2be91d7548e55476a4e62aca25dae606a06a36ef30b51af4da5bec4da400c3b0
|
2be91d7548e55476a4e62aca25dae606a06a36ef30b51af4da5bec4da400c3b0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
https://static.rust-lang.org/dist/rustc-VERSION-src.tar.xz
|
https://static.rust-lang.org/dist/rustc-VERSION-src.tar.xz
|
||||||
https://static.rust-lang.org/dist/2022-08-11/rust-std-1.63.0-x86_64-unknown-linux-musl.tar.xz?no-extract
|
https://static.rust-lang.org/dist/2022-09-22/rust-std-1.64.0-x86_64-unknown-linux-musl.tar.xz?no-extract
|
||||||
https://static.rust-lang.org/dist/2022-08-11/rustc-1.63.0-x86_64-unknown-linux-musl.tar.xz?no-extract
|
https://static.rust-lang.org/dist/2022-09-22/rustc-1.64.0-x86_64-unknown-linux-musl.tar.xz?no-extract
|
||||||
https://static.rust-lang.org/dist/2022-08-11/cargo-1.63.0-x86_64-unknown-linux-musl.tar.xz?no-extract
|
https://static.rust-lang.org/dist/2022-09-22/cargo-1.64.0-x86_64-unknown-linux-musl.tar.xz?no-extract
|
||||||
patches/fix-curl.patch
|
patches/fix-curl.patch
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.64.0 1
|
1.65.0 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user