about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorMeysam Azad <MeysamAzad81@gmail.com>2023-08-04 20:08:22 +0700
committerMeysam Azad <MeysamAzad81@gmail.com>2023-08-06 14:29:36 +0700
commit0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02 (patch)
treef25c478c599244c2c65d5965f5de886d421b9c35 /src/tools
parent8236f63aba889be5ef9b42c86b3e73c8b877b6af (diff)
downloadrust-0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02.tar.gz
rust-0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02.zip
fix(bootstrap): rename exclude flag to skip 🐛
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/opt-dist/src/main.rs2
-rw-r--r--src/tools/opt-dist/src/tests.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/opt-dist/src/main.rs b/src/tools/opt-dist/src/main.rs
index f6edd008845..8ab19674d05 100644
--- a/src/tools/opt-dist/src/main.rs
+++ b/src/tools/opt-dist/src/main.rs
@@ -197,7 +197,7 @@ fn main() -> anyhow::Result<()> {
             "miri",
             "rustfmt",
         ] {
-            build_args.extend(["--exclude".to_string(), target.to_string()]);
+            build_args.extend(["--skip".to_string(), target.to_string()]);
         }
     }
 
diff --git a/src/tools/opt-dist/src/tests.rs b/src/tools/opt-dist/src/tests.rs
index c85418baecd..3dd1a3223f5 100644
--- a/src/tools/opt-dist/src/tests.rs
+++ b/src/tools/opt-dist/src/tests.rs
@@ -96,7 +96,7 @@ llvm-config = "{llvm_config}"
         "tests/ui",
     ];
     for test_path in env.skipped_tests() {
-        args.extend(["--exclude", test_path]);
+        args.extend(["--skip", test_path]);
     }
     cmd(&args).env("COMPILETEST_FORCE_STAGE0", "1").run().context("Cannot execute tests")
 }