Skip to content

Commit 7fa8869

Browse files
ShahanaFarooquimadelinevibes
authored andcommitted
script: Update rust version to 1.85
Fixes error in current reproducible builds: ``` error: failed to parse lock file at: /build/Cargo.lock Caused by: lock file version `4` was found, but this version of Cargo does not understand this lock file, perhaps Cargo needs to be updated? ```
1 parent da7d305 commit 7fa8869

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/reprobuild/Dockerfile.focal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp
5555
RUN wget https://sh.rustup.rs -O rustup-install.sh && \
5656
bash rustup-install.sh --default-toolchain none --quiet -y && \
5757
rm rustup-install.sh && \
58-
/root/.cargo/bin/rustup install 1.75
58+
/root/.cargo/bin/rustup install 1.85
5959

6060
# Download protoc manually, it is in the update repos which we
6161
# disabled above, so `apt-get` can't find it anymore.

contrib/reprobuild/Dockerfile.jammy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp
5353
RUN wget https://sh.rustup.rs -O rustup-install.sh && \
5454
bash rustup-install.sh --default-toolchain none --quiet -y && \
5555
rm rustup-install.sh && \
56-
/root/.cargo/bin/rustup install 1.75
56+
/root/.cargo/bin/rustup install 1.85
5757

5858
# Download protoc manually, it is in the update repos which we
5959
# disabled above, so `apt-get` can't find it anymore.

contrib/reprobuild/Dockerfile.noble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp
5151
RUN wget https://sh.rustup.rs -O rustup-install.sh && \
5252
bash rustup-install.sh --default-toolchain none --quiet -y && \
5353
rm rustup-install.sh && \
54-
/root/.cargo/bin/rustup install 1.75
54+
/root/.cargo/bin/rustup install 1.85
5555

5656
# Download protoc manually, it is in the update repos which we
5757
# disabled above, so `apt-get` can't find it anymore.

0 commit comments

Comments
 (0)