Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6ea108b

Browse files
committed
Split flags whitespace
This is probably the wrong way to do this...
1 parent 3936134 commit 6ea108b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build_system/tests.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,7 @@ impl TestRunner {
417417
rustc_clif.push(get_wrapper_file_name("rustc-clif", "bin", &self.host_triple));
418418

419419
let mut cmd = Command::new(rustc_clif);
420-
if !self.rust_flags.is_empty() {
421-
cmd.arg(&self.rust_flags);
422-
}
420+
cmd.args(self.rust_flags.split_whitespace());
423421
cmd.arg("-L");
424422
cmd.arg(format!("crate={}", self.out_dir.display()));
425423
cmd.arg("--out-dir");

0 commit comments

Comments
 (0)