Update miri-script/src/main.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
c1657ca1b0
commit
d12597ff7b
1 changed files with 2 additions and 0 deletions
|
|
@ -156,6 +156,8 @@ pub struct Cli {
|
|||
}
|
||||
|
||||
fn main() -> Result<()> {
|
||||
/// Split the arguments into the part before the `--` and the part after.
|
||||
/// The `--` itself ends up in the second part.
|
||||
let miri_args: Vec<_> = std::env::args().take_while(|x| *x != "--").collect();
|
||||
let remainder: Vec<_> = std::env::args().skip_while(|x| *x != "--").collect();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue