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.
2 parents e228e31 + 4b52bbc commit 2b93bf6Copy full SHA for 2b93bf6
1 file changed
src/bootstrap/src/bin/rustc.rs
@@ -175,9 +175,7 @@ fn main() {
175
// Find any host flags that were passed by bootstrap.
176
// The flags are stored in a RUSTC_HOST_FLAGS variable, separated by spaces.
177
if let Ok(flags) = std::env::var("RUSTC_HOST_FLAGS") {
178
- for flag in flags.split(' ') {
179
- cmd.arg(flag);
180
- }
+ cmd.args(flags.split(' '));
181
}
182
183
0 commit comments