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 4ff3df8 commit 8045438Copy full SHA for 8045438
src/bootstrap/config.rs
@@ -331,21 +331,11 @@ impl Config {
331
}
332
333
config.hosts = if !flags.host.is_empty() {
334
- for host in flags.host.iter() {
335
- if !config.hosts.contains(host) {
336
- panic!("specified host `{}` is not in configuration", host);
337
- }
338
339
flags.host
340
} else {
341
config.hosts
342
};
343
config.targets = if !flags.target.is_empty() {
344
- for target in flags.target.iter() {
345
- if !config.targets.contains(target) {
346
- panic!("specified target `{}` is not in configuration", target);
347
348
349
flags.target
350
351
config.targets
0 commit comments