Actually take --build into account in bootstrap
I went back 20 *stable* versions of Rust and I couldn't find this flag actually being used. Despite some of our CI workflows actually set this flag (!).
This commit is contained in:
parent
55d436467c
commit
e19ec445e8
1 changed files with 3 additions and 1 deletions
|
|
@ -730,7 +730,9 @@ impl Config {
|
|||
|
||||
config.jobs = Some(threads_from_config(flags.jobs.unwrap_or(jobs.unwrap_or(0))));
|
||||
|
||||
if let Some(file_build) = build {
|
||||
if let Some(flags_build) = flags.build {
|
||||
config.host_target = TargetSelection::from_user(&flags_build);
|
||||
} else if let Some(file_build) = build {
|
||||
config.host_target = TargetSelection::from_user(&file_build);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue