X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fconfig.rs;h=5706b8f9e7cc6055be056ebeb214dd7baae1714c;hb=48b5d110ae8b0917d09b71cdcfa6e5107a4fc224;hp=dd536cb7b02bfdc74ba4a23723e7c129ff285e8b;hpb=2dbb2f7420e72c848d71dcdf61e2a1117d97cc5d;p=rust.git diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index dd536cb7b02..5706b8f9e7c 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -143,6 +143,8 @@ pub struct Config { pub rust_new_symbol_mangling: bool, pub rust_profile_use: Option, pub rust_profile_generate: Option, + pub llvm_profile_use: Option, + pub llvm_profile_generate: bool, pub build: TargetSelection, pub hosts: Vec, @@ -605,6 +607,8 @@ pub fn parse(args: &[String]) -> Config { if let Some(value) = flags.deny_warnings { config.deny_warnings = value; } + config.llvm_profile_use = flags.llvm_profile_use; + config.llvm_profile_generate = flags.llvm_profile_generate; if config.dry_run { let dir = config.out.join("tmp-dry-run");