diff options
| author | Meysam Azad <MeysamAzad81@gmail.com> | 2023-08-04 20:08:22 +0700 |
|---|---|---|
| committer | Meysam Azad <MeysamAzad81@gmail.com> | 2023-08-06 14:29:36 +0700 |
| commit | 0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02 (patch) | |
| tree | f25c478c599244c2c65d5965f5de886d421b9c35 /src/bootstrap/flags.rs | |
| parent | 8236f63aba889be5ef9b42c86b3e73c8b877b6af (diff) | |
| download | rust-0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02.tar.gz rust-0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02.zip | |
fix(bootstrap): rename exclude flag to skip 🐛
Diffstat (limited to 'src/bootstrap/flags.rs')
| -rw-r--r-- | src/bootstrap/flags.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index a1e0a440729..f5022b74fb2 100644 --- a/src/bootstrap/flags.rs +++ b/src/bootstrap/flags.rs @@ -68,7 +68,10 @@ pub struct Flags { #[arg(global(true), long, value_name = "PATH")] /// build paths to exclude - pub exclude: Vec<PathBuf>, + pub exclude: Vec<PathBuf>, // keeping for client backward compatibility + #[arg(global(true), long, value_name = "PATH")] + /// build paths to skip + pub skip: Vec<PathBuf>, #[arg(global(true), long)] /// include default paths in addition to the provided ones pub include_default_paths: bool, @@ -318,7 +321,7 @@ pub enum Subcommand { no_fail_fast: bool, #[arg(long, value_name = "SUBSTRING")] /// skips tests matching SUBSTRING, if supported by test tool. May be passed multiple times - skip: Vec<String>, + skip: Vec<PathBuf>, #[arg(long, value_name = "ARGS", allow_hyphen_values(true))] /// extra arguments to be passed for the test tool being used /// (e.g. libtest, compiletest or rustdoc) |
