about summary refs log tree commit diff
path: root/src/bootstrap/builder
diff options
context:
space:
mode:
authorLukas Markeffsky <@>2023-06-23 16:28:08 +0000
committerLukas Markeffsky <@>2023-07-14 09:41:35 +0000
commitb1a5423ff8e2284a02aa75bf4467c9f49bb2e95b (patch)
treed6c87aef4ea90385b1f1bad73fb0317a1bbc8fb9 /src/bootstrap/builder
parentfe03b46ee4688a99d7155b4f9dcd875b6903952d (diff)
downloadrust-b1a5423ff8e2284a02aa75bf4467c9f49bb2e95b.tar.gz
rust-b1a5423ff8e2284a02aa75bf4467c9f49bb2e95b.zip
bootstrap: update defaults for `compiler` and `library` aliases
Diffstat (limited to 'src/bootstrap/builder')
-rw-r--r--src/bootstrap/builder/tests.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs
index 31dcee58216..65b8f7fd3b7 100644
--- a/src/bootstrap/builder/tests.rs
+++ b/src/bootstrap/builder/tests.rs
@@ -68,13 +68,17 @@ macro_rules! std {
 }
 
 macro_rules! doc_std {
-    ($host:ident => $target:ident, stage = $stage:literal) => {
+    ($host:ident => $target:ident, stage = $stage:literal) => {{
+        let config = configure("doc", &["A"], &["A"]);
+        let build = Build::new(config);
+        let builder = Builder::new(&build);
         doc::Std::new(
             $stage,
             TargetSelection::from_user(stringify!($target)),
+            &builder,
             DocumentationFormat::HTML,
         )
-    };
+    }};
 }
 
 macro_rules! rustc {