about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-29 01:24:26 +0000
committerbors <bors@rust-lang.org>2022-12-29 01:24:26 +0000
commitb15ca6635f752fefebfd101aa944c6167128183c (patch)
tree6b1f604d2bd07d58e024a9411dfdf6dac237d0d3 /src/bootstrap
parent9709a438721d679572f0f7c389cd1fa60922fbef (diff)
parentcc4e434854a982e22ca207c298e63f88dc5128aa (diff)
downloadrust-b15ca6635f752fefebfd101aa944c6167128183c.tar.gz
rust-b15ca6635f752fefebfd101aa944c6167128183c.zip
Auto merge of #105741 - pietroalbini:pa-1.68-nightly, r=Mark-Simulacrum
Bump master bootstrap compiler

This PR bumps the bootstrap compiler to the beta created earlier this week, cherry-picks the stabilization version number updates, and updates the `cfg(bootstrap)`s.

r? `@Mark-Simulacrum`
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/compile.rs3
-rw-r--r--src/bootstrap/test.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs
index 427e1a3863e..1030247b890 100644
--- a/src/bootstrap/compile.rs
+++ b/src/bootstrap/compile.rs
@@ -691,7 +691,8 @@ impl Step for Rustc {
             ));
         }
 
-        // cfg(bootstrap): remove if condition once the bootstrap compiler supports dylib LTO
+        // We currently don't support cross-crate LTO in stage0. This also isn't hugely necessary
+        // and may just be a time sink.
         if compiler.stage != 0 {
             match builder.config.rust_lto {
                 RustcLto::Thin | RustcLto::Fat => {
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 0d9c22e210f..c8b4134391e 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1048,7 +1048,7 @@ impl Step for RustdocGUI {
                 if entry.file_name() == "link_to_definition" {
                     cargo.env("RUSTDOCFLAGS", "-Zunstable-options --generate-link-to-definition");
                 } else if entry.file_name() == "scrape_examples" {
-                    cargo.arg("-Zrustdoc-scrape-examples=examples");
+                    cargo.arg("-Zrustdoc-scrape-examples");
                 }
                 builder.run(&mut cargo);
             }