Skip to content

Commit ec08a03

Browse files
committed
Auto merge of rust-lang#115541 - Mark-Simulacrum:mirror-rustc-perf-source, r=ehuss
Mirror the rustc-perf source This avoids issues with the GitHub /archive/ links which can be somewhat unreliable and are currently causing CI issues.
2 parents bf1e3f3 + fe6c863 commit ec08a03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ENV CC=clang CXX=clang++
6060
# rustc-perf version from 2023-05-30
6161
# Should also be changed in the opt-dist tool for other environments.
6262
ENV PERF_COMMIT 8b2ac3042e1ff2c0074455a0a3618adef97156b1
63-
RUN curl -LS -o perf.zip https://github.com/rust-lang/rustc-perf/archive/$PERF_COMMIT.zip && \
63+
RUN curl -LS -o perf.zip https://ci-mirrors.rust-lang.org/rustc/rustc-perf-$PERF_COMMIT.zip && \
6464
unzip perf.zip && \
6565
mv rustc-perf-$PERF_COMMIT rustc-perf && \
6666
rm perf.zip

src/tools/opt-dist/src/environment/windows.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl Environment for WindowsEnvironment {
4242
// rustc-perf version from 2023-05-30
4343
const PERF_COMMIT: &str = "8b2ac3042e1ff2c0074455a0a3618adef97156b1";
4444

45-
let url = format!("https://github.com/rust-lang/rustc-perf/archive/{PERF_COMMIT}.zip");
45+
let url = format!("https://ci-mirrors.rust-lang.org/rustc/rustc-perf-{PERF_COMMIT}.zip");
4646
let response = reqwest::blocking::get(url)?.error_for_status()?.bytes()?.to_vec();
4747

4848
let mut archive = ZipArchive::new(Cursor::new(response))?;

0 commit comments

Comments
 (0)