We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e958ff commit 840d261Copy full SHA for 840d261
src/bootstrap/src/utils/tests/mod.rs
@@ -125,4 +125,19 @@ impl ConfigBuilder {
125
126
Config::parse(Flags::parse(&self.args))
127
}
128
+
129
+ pub fn create_config_without_ci_llvm_override(mut self) -> Config {
130
+ // Run in dry-check, otherwise the test would be too slow
131
+ self.args.push("--dry-run".to_string());
132
133
+ // Ignore submodules
134
+ self.args.push("--set".to_string());
135
+ self.args.push("build.submodules=false".to_string());
136
137
+ // Do not mess with the local rustc checkout build directory
138
+ self.args.push("--build-dir".to_string());
139
+ self.args.push(self.directory.join("build").display().to_string());
140
141
+ Config::parse(Flags::parse(&self.args))
142
+ }
143
0 commit comments