Skip to content

Commit 0ad798a

Browse files
committed
remove unexpected --rustc-args from ./x miri
1 parent bc9ca29 commit 0ad798a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/bootstrap/src/core/config/flags.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,6 @@ pub enum Subcommand {
392392
/// extra arguments to be passed for the test tool being used
393393
/// (e.g. libtest, compiletest or rustdoc)
394394
test_args: Vec<String>,
395-
/// extra options to pass the compiler when running tests
396-
#[arg(long, value_name = "ARGS", allow_hyphen_values(true))]
397-
rustc_args: Vec<String>,
398395
#[arg(long)]
399396
/// do not run doc tests
400397
no_doc: bool,
@@ -501,7 +498,7 @@ impl Subcommand {
501498

502499
pub fn rustc_args(&self) -> Vec<&str> {
503500
match *self {
504-
Subcommand::Test { ref rustc_args, .. } | Subcommand::Miri { ref rustc_args, .. } => {
501+
Subcommand::Test { ref rustc_args, .. } => {
505502
rustc_args.iter().flat_map(|s| s.split_whitespace()).collect()
506503
}
507504
_ => vec![],

0 commit comments

Comments
 (0)