diff options
| author | Afonso Bordado <afonsobordado@az8.co> | 2022-07-30 21:08:21 +0100 |
|---|---|---|
| committer | Afonso Bordado <afonsobordado@az8.co> | 2022-07-30 21:08:21 +0100 |
| commit | 6ea108bae3358ffee78fcdfb4b442dd8d81b29b4 (patch) | |
| tree | de3916e749ec6362f5b3ee9a60e8596091d7f695 | |
| parent | 393613439a09c7d2c36832eb532a13f140a46552 (diff) | |
| download | rust-6ea108bae3358ffee78fcdfb4b442dd8d81b29b4.tar.gz rust-6ea108bae3358ffee78fcdfb4b442dd8d81b29b4.zip | |
Split flags whitespace
This is probably the wrong way to do this...
| -rw-r--r-- | build_system/tests.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build_system/tests.rs b/build_system/tests.rs index bc13066b020..e4a776259c0 100644 --- a/build_system/tests.rs +++ b/build_system/tests.rs @@ -417,9 +417,7 @@ impl TestRunner { rustc_clif.push(get_wrapper_file_name("rustc-clif", "bin", &self.host_triple)); let mut cmd = Command::new(rustc_clif); - if !self.rust_flags.is_empty() { - cmd.arg(&self.rust_flags); - } + cmd.args(self.rust_flags.split_whitespace()); cmd.arg("-L"); cmd.arg(format!("crate={}", self.out_dir.display())); cmd.arg("--out-dir"); |
