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/config.rs | |
| parent | 8236f63aba889be5ef9b42c86b3e73c8b877b6af (diff) | |
fix(bootstrap): rename exclude flag to skip 🐛
Diffstat (limited to 'src/bootstrap/config.rs')
| -rw-r--r-- | src/bootstrap/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index da60166b84d..cdb34f99164 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -130,7 +130,7 @@ pub struct Config { pub sanitizers: bool, pub profiler: bool, pub omit_git_hash: bool, - pub exclude: Vec<PathBuf>, + pub skip: Vec<PathBuf>, pub include_default_paths: bool, pub rustc_error_format: Option<String>, pub json_output: bool, @@ -1112,7 +1112,7 @@ impl Config { // Set flags. config.paths = std::mem::take(&mut flags.paths); - config.exclude = flags.exclude; + config.skip = flags.skip.into_iter().chain(flags.exclude).collect(); config.include_default_paths = flags.include_default_paths; config.rustc_error_format = flags.rustc_error_format; config.json_output = flags.json_output; |
