Fix running specific test (#4142)

This commit is contained in:
Dániel Buga 2025-09-19 07:11:40 +02:00 committed by GitHub
parent 69776eb638
commit f0d029b29d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -534,8 +534,7 @@ pub fn generate_build_command(
.manifest_path(cwd.join("Cargo.toml")) .manifest_path(cwd.join("Cargo.toml"))
.config_path(cwd.join(".cargo").join("config.toml")) .config_path(cwd.join(".cargo").join("config.toml"))
.target(target) .target(target)
.features(&features) .features(&features);
.args(extra_args);
let subcommand = if matches!(action, CargoAction::Build(_)) { let subcommand = if matches!(action, CargoAction::Build(_)) {
"build" "build"
@ -605,6 +604,8 @@ pub fn generate_build_command(
); );
} }
let builder = builder.args(extra_args);
Ok(builder) Ok(builder)
} }