about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-11 04:32:22 +0000
committerbors <bors@rust-lang.org>2023-07-11 04:32:22 +0000
commit7ba605cd90d6467bda469d1cd2148ac32ea562bf (patch)
treeff9310c9c45b53714f21338d04f168c1597c11dd /src/ci
parent83964c156db1f444050a38b2498dbd0da6d5d503 (diff)
parent27ff8191989ff67c9e07f062d42a6ca1d1e42720 (diff)
Auto merge of #113540 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrum
[beta] promote 1.72

r? `@Mark-Simulacrum`
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/channel2
-rwxr-xr-xsrc/ci/stage-build.py11
2 files changed, 7 insertions, 6 deletions
diff --git a/src/ci/channel b/src/ci/channel
index bf867e0ae5b..65b2df87f7d 100644
--- a/src/ci/channel
+++ b/src/ci/channel
@@ -1 +1 @@
-nightly
+beta
diff --git a/src/ci/stage-build.py b/src/ci/stage-build.py
index 8640a3e0f34..bdf562f1354 100755
--- a/src/ci/stage-build.py
+++ b/src/ci/stage-build.py
@@ -22,6 +22,7 @@ from typing import Callable, ContextManager, Dict, Iterable, Iterator, List, Opt
     Tuple, Union
 
 PGO_HOST = os.environ["PGO_HOST"]
+CHANNEL = os.environ["RUST_RELEASE_CHANNEL"]
 
 LOGGER = logging.getLogger("stage-build")
 
@@ -816,10 +817,10 @@ def run_tests(pipeline: Pipeline):
         return extracted_path
 
     # Extract rustc, libstd, cargo and src archives to create the optimized sysroot
-    rustc_dir = extract_dist_dir(f"rustc-nightly-{PGO_HOST}") / "rustc"
-    libstd_dir = extract_dist_dir(f"rust-std-nightly-{PGO_HOST}") / f"rust-std-{PGO_HOST}"
-    cargo_dir = extract_dist_dir(f"cargo-nightly-{PGO_HOST}") / "cargo"
-    extracted_src_dir = extract_dist_dir("rust-src-nightly") / "rust-src"
+    rustc_dir = extract_dist_dir(f"rustc-{CHANNEL}-{PGO_HOST}") / "rustc"
+    libstd_dir = extract_dist_dir(f"rust-std-{CHANNEL}-{PGO_HOST}") / f"rust-std-{PGO_HOST}"
+    cargo_dir = extract_dist_dir(f"cargo-{CHANNEL}-{PGO_HOST}") / "cargo"
+    extracted_src_dir = extract_dist_dir(f"rust-src-{CHANNEL}") / "rust-src"
 
     # We need to manually copy libstd to the extracted rustc sysroot
     shutil.copytree(
@@ -827,7 +828,7 @@ def run_tests(pipeline: Pipeline):
         rustc_dir / "lib" / "rustlib" / PGO_HOST / "lib"
     )
 
-    # Extract sources - they aren't in the `rustc-nightly-{host}` tarball, so we need to manually copy libstd
+    # Extract sources - they aren't in the `rustc-{CHANNEL}-{host}` tarball, so we need to manually copy libstd
     # sources to the extracted sysroot. We need sources available so that `-Zsimulate-remapped-rust-src-base`
     # works correctly.
     shutil.copytree(