We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
x suggest --run
1 parent e4135d4 commit dc48a8bCopy full SHA for dc48a8b
src/bootstrap/suggest.rs
@@ -62,12 +62,11 @@ pub fn suggest(builder: &Builder<'_>, run: bool) {
62
for sug in suggestions {
63
let mut build: crate::Build = builder.build.clone();
64
build.config.paths = sug.2;
65
- build.config.cmd = crate::flags::Flags::parse_from([sug.0]).cmd;
+ build.config.cmd = crate::flags::Flags::parse_from(["x.py", sug.0]).cmd;
66
if let Some(stage) = sug.1 {
67
build.config.stage = stage;
68
}
69
-
70
- Builder::new(&build).execute_cli()
+ build.build();
71
72
} else {
73
println!("help: consider using the `--run` flag to automatically run suggested tests");
0 commit comments