about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2023-09-04 13:21:05 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2023-09-04 13:21:05 -0400
commitfe6c863f0bdfffaeb8fbbb520ece8696581383ce (patch)
tree8d68f9cc008995f6b770f9c98faf6b9a74a18581 /src/tools
parentbf1e3f31f95c0f75b9bf51a58e8684f750f919f2 (diff)
downloadrust-fe6c863f0bdfffaeb8fbbb520ece8696581383ce.tar.gz
rust-fe6c863f0bdfffaeb8fbbb520ece8696581383ce.zip
Mirror the rustc-perf source
This avoids issues with the GitHub /archive/ links which can be somewhat
unreliable and are currently causing CI issues.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/opt-dist/src/environment/windows.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/opt-dist/src/environment/windows.rs b/src/tools/opt-dist/src/environment/windows.rs
index 8a9733d6496..67f63c7359d 100644
--- a/src/tools/opt-dist/src/environment/windows.rs
+++ b/src/tools/opt-dist/src/environment/windows.rs
@@ -42,7 +42,7 @@ impl Environment for WindowsEnvironment {
         // rustc-perf version from 2023-05-30
         const PERF_COMMIT: &str = "8b2ac3042e1ff2c0074455a0a3618adef97156b1";
 
-        let url = format!("https://github.com/rust-lang/rustc-perf/archive/{PERF_COMMIT}.zip");
+        let url = format!("https://ci-mirrors.rust-lang.org/rustc/rustc-perf-{PERF_COMMIT}.zip");
         let response = reqwest::blocking::get(url)?.error_for_status()?.bytes()?.to_vec();
 
         let mut archive = ZipArchive::new(Cursor::new(response))?;