From bf445382f368a4839c197c1e49144fb0d1f9fec3 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Tue, 25 Jun 2024 09:20:02 +0800 Subject: rust: updated to 1.79.0 --- repos/extra/rust/abuild | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'repos/extra/rust/abuild') diff --git a/repos/extra/rust/abuild b/repos/extra/rust/abuild index e043c8e4..b4986933 100644 --- a/repos/extra/rust/abuild +++ b/repos/extra/rust/abuild @@ -1,9 +1,9 @@ name=rust -version=1.78.0 +version=1.79.0 ##cat src/stage0.txt -export _date=2024-03-21 -export _rustc=1.77.0 +export _date=2024-05-02 +export _rustc=1.78.0 export _cargo=$_rustc ## @@ -11,8 +11,8 @@ release=1 source="https://static.rust-lang.org/dist/${name}c-$version-src.tar.xz https://static.rust-lang.org/dist/$_date/rust-std-$_rustc-x86_64-unknown-linux-musl.tar.xz::noextract https://static.rust-lang.org/dist/$_date/rustc-$_rustc-x86_64-unknown-linux-musl.tar.xz::noextract - https://static.rust-lang.org/dist/$_date/cargo-$_cargo-x86_64-unknown-linux-musl.tar.xz::noextract - fix-curl.patch" + https://static.rust-lang.org/dist/$_date/cargo-$_cargo-x86_64-unknown-linux-musl.tar.xz::noextract" +# fix-curl.patch" build_dir=${name}c-$version-src keep_static=1 no_strip=1 @@ -26,7 +26,7 @@ build() { cp $SRC/cargo-$_cargo-x86_64-unknown-linux-musl.tar.xz build/cache/$_date/ sed -i 's/\(crt_static_default = \)true/\1false/' compiler/rustc_target/src/spec/base/linux_musl.rs - sed -i 's/\("files":{\)[^}]*/\1/' vendor/curl-sys/.cargo-checksum.json + #sed -i 's/\("files":{\)[^}]*/\1/' vendor/curl-sys/.cargo-checksum.json cat > config.toml <