this is dicy, whether we have a method to explicitly enable_llvm_override
This commit is contained in:
parent
05131bd5f1
commit
a29474d3ff
1 changed files with 15 additions and 0 deletions
|
|
@ -125,4 +125,19 @@ impl ConfigBuilder {
|
|||
|
||||
Config::parse(Flags::parse(&self.args))
|
||||
}
|
||||
|
||||
pub fn create_config_without_ci_llvm_override(mut self) -> Config {
|
||||
// Run in dry-check, otherwise the test would be too slow
|
||||
self.args.push("--dry-run".to_string());
|
||||
|
||||
// Ignore submodules
|
||||
self.args.push("--set".to_string());
|
||||
self.args.push("build.submodules=false".to_string());
|
||||
|
||||
// Do not mess with the local rustc checkout build directory
|
||||
self.args.push("--build-dir".to_string());
|
||||
self.args.push(self.directory.join("build").display().to_string());
|
||||
|
||||
Config::parse(Flags::parse(&self.args))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue