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 80da469 commit 283e0f1Copy full SHA for 283e0f1
miri-script/src/main.rs
@@ -131,8 +131,10 @@ impl Command {
131
| Self::Clippy { flags }
132
| Self::Run { flags, .. }
133
| Self::Test { flags, .. } => {
134
- flags.push("--".into());
135
- flags.extend(remainder);
+ if !remainder.is_empty() {
+ flags.push("--".into());
136
+ flags.extend(remainder);
137
+ }
138
}
139
_ => (),
140
@@ -216,6 +218,7 @@ fn main() -> Result<()> {
216
218
let args = Cli::parse_from(miri_args);
217
219
let mut command = args.command;
220
command.add_remainder(remainder);
221
+ dbg!(&command);
222
command.exec()?;
223
Ok(())
224
0 commit comments