rust: add Rust 1.75.0

This commit is contained in:
Ryan Heywood 2024-02-05 06:39:40 -05:00
parent 6c9088c55c
commit 9217bd350c
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
2 changed files with 7 additions and 1 deletions

View File

@ -270,5 +270,8 @@ out/rust1.72.tgz: out/rust1.71.tgz
out/rust1.73.tgz: out/rust1.72.tgz
$(call build,core,rust,1.73.0,package,--build-arg BUILD_VERSION=1.72.0 --build-arg LLVM_VERSION=16)
out/rust.tgz: out/rust1.73.tgz
out/rust1.74.tgz: out/rust1.73.tgz
$(call build,core,rust,1.74.0,package,--build-arg BUILD_VERSION=1.73.0 --build-arg LLVM_VERSION=16)
out/rust.tgz: out/rust1.74.tgz
$(call build,core,rust,1.75.0,package,--build-arg BUILD_VERSION=1.74.0 --build-arg LLVM_VERSION=16)

View File

@ -29,6 +29,7 @@ ENV SRC_HASH_1_71_0=a667e4abdc5588ebfea35c381e319d840ffbf8d2dbfb7977173057364203
ENV SRC_HASH_1_72_0=ea9d61bbb51d76b6ea681156f69f0e0596b59722f04414b01c6e100b4b5be3a1
ENV SRC_HASH_1_73_0=96d62e6d1f2d21df7ac8acb3b9882411f9e7c7036173f7f2ede9e1f1f6b1bb3a
ENV SRC_HASH_1_74_0=882b584bc321c5dcfe77cdaa69f277906b936255ef7808fcd5c7492925cf1049
ENV SRC_HASH_1_75_0=5b739f45bc9d341e2d1c570d65d2375591e22c2d23ef5b8a37711a0386abc088
ARG REGISTRY
ENV REGISTRY=${REGISTRY}
ARG VERSION
@ -114,6 +115,8 @@ FROM fetch as build
RUN tar -xzf rustc-${VERSION}-src.tar.gz
WORKDIR rustc-${VERSION}-src
COPY --from=rust . /
# Required by Rust >= 1.75.0
RUN mkdir -p /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/
RUN set -eux; \
./configure \
--build="x86_64-unknown-linux-musl" \