about summary refs log tree commit diff
path: root/src/bootstrap/builder
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-11-06 16:59:43 -0600
committerJoshua Nelson <jnelson@cloudflare.com>2022-11-12 15:37:58 -0600
commit34972c512b3384d2194eaa0a85afdf896c6a4d75 (patch)
tree28fb4e6d496b4385a76ea5459104ee4f8cb24a38 /src/bootstrap/builder
parentcd128880b13bc9f7a919567926e801c8a1487cdb (diff)
downloadrust-34972c512b3384d2194eaa0a85afdf896c6a4d75.tar.gz
rust-34972c512b3384d2194eaa0a85afdf896c6a4d75.zip
Distinguish `--dry-run` from the automatic dry run check
Diffstat (limited to 'src/bootstrap/builder')
-rw-r--r--src/bootstrap/builder/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs
index 88bbcc93d07..5f21d2b0067 100644
--- a/src/bootstrap/builder/tests.rs
+++ b/src/bootstrap/builder/tests.rs
@@ -1,5 +1,5 @@
 use super::*;
-use crate::config::{Config, TargetSelection};
+use crate::config::{Config, DryRun, TargetSelection};
 use std::thread;
 
 fn configure(cmd: &str, host: &[&str], target: &[&str]) -> Config {
@@ -10,7 +10,7 @@ fn configure_with_args(cmd: &[String], host: &[&str], target: &[&str]) -> Config
     let mut config = Config::parse(cmd);
     // don't save toolstates
     config.save_toolstates = None;
-    config.dry_run = true;
+    config.dry_run = DryRun::SelfCheck;
 
     // Ignore most submodules, since we don't need them for a dry run.
     // But make sure to check out the `doc` and `rust-analyzer` submodules, since some steps need them