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.
1 parent c1657ca commit d12597fCopy full SHA for d12597f
src/tools/miri/miri-script/src/main.rs
@@ -156,6 +156,8 @@ pub struct Cli {
156
}
157
158
fn main() -> Result<()> {
159
+ /// Split the arguments into the part before the `--` and the part after.
160
+ /// The `--` itself ends up in the second part.
161
let miri_args: Vec<_> = std::env::args().take_while(|x| *x != "--").collect();
162
let remainder: Vec<_> = std::env::args().skip_while(|x| *x != "--").collect();
163
0 commit comments