about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2024-08-12 15:10:14 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2024-08-12 15:28:38 +0000
commit0ad798aec713a0d3b2b5aa677a343d767ea550b1 (patch)
tree581874369c0840aa91ef32b8eb1e83dd97f43644
parentbc9ca2902ea3fa25b93989ccfae737a40db3c544 (diff)
downloadrust-0ad798aec713a0d3b2b5aa677a343d767ea550b1.tar.gz
rust-0ad798aec713a0d3b2b5aa677a343d767ea550b1.zip
remove unexpected `--rustc-args` from `./x miri`
-rw-r--r--src/bootstrap/src/core/config/flags.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bootstrap/src/core/config/flags.rs b/src/bootstrap/src/core/config/flags.rs
index e42b86bc3ae..c3b96e12257 100644
--- a/src/bootstrap/src/core/config/flags.rs
+++ b/src/bootstrap/src/core/config/flags.rs
@@ -392,9 +392,6 @@ pub enum Subcommand {
         /// extra arguments to be passed for the test tool being used
         /// (e.g. libtest, compiletest or rustdoc)
         test_args: Vec<String>,
-        /// extra options to pass the compiler when running tests
-        #[arg(long, value_name = "ARGS", allow_hyphen_values(true))]
-        rustc_args: Vec<String>,
         #[arg(long)]
         /// do not run doc tests
         no_doc: bool,
@@ -501,7 +498,7 @@ impl Subcommand {
 
     pub fn rustc_args(&self) -> Vec<&str> {
         match *self {
-            Subcommand::Test { ref rustc_args, .. } | Subcommand::Miri { ref rustc_args, .. } => {
+            Subcommand::Test { ref rustc_args, .. } => {
                 rustc_args.iter().flat_map(|s| s.split_whitespace()).collect()
             }
             _ => vec![],