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