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