We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5be9027 commit d854915Copy full SHA for d854915
src/bootstrap/config.rs
@@ -469,12 +469,11 @@ impl Config {
469
match key {
470
"CFG_BUILD" if value.len() > 0 => self.build = value.to_string(),
471
"CFG_HOST" if value.len() > 0 => {
472
- self.host = value.split(" ").map(|s| s.to_string())
473
- .collect();
+ self.host.extend(value.split(" ").map(|s| s.to_string()));
+
474
}
475
"CFG_TARGET" if value.len() > 0 => {
476
- self.target = value.split(" ").map(|s| s.to_string())
477
+ self.target.extend(value.split(" ").map(|s| s.to_string()));
478
479
"CFG_MUSL_ROOT" if value.len() > 0 => {
480
self.musl_root = Some(parse_configure_path(value));
0 commit comments