about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-06-22 00:31:23 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-06-22 00:33:35 -0500
commit81482e67cbde2e15422bb8a07345ceab54a6a24e (patch)
tree726714bc2524020107e3369438446d67b439af8b /src
parent345eb14f6c841cd38e76a5b0bbf99e1b94a90d40 (diff)
downloadrust-81482e67cbde2e15422bb8a07345ceab54a6a24e.tar.gz
rust-81482e67cbde2e15422bb8a07345ceab54a6a24e.zip
Remove individual crate checks for bootstrap in tidy
This duplicates a lot of checking, and doesn't seem particularly useful -
these are already caught in review.

Note that this still keeps the license check.
Diffstat (limited to 'src')
-rw-r--r--src/tools/tidy/src/deps.rs83
1 files changed, 0 insertions, 83 deletions
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs
index c66ecda937d..55cf3fee9bf 100644
--- a/src/tools/tidy/src/deps.rs
+++ b/src/tools/tidy/src/deps.rs
@@ -293,82 +293,6 @@ const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[
     "winapi-x86_64-pc-windows-gnu",
 ];
 
-const PERMITTED_BOOTSTRAP_DEPENDENCIES: &[&str] = &[
-    "aho-corasick",
-    "autocfg",
-    "ansi_term",
-    "block-buffer",
-    "bitflags",
-    "bstr",
-    "core-foundation-sys",
-    "cc",
-    "cfg-if",
-    "crossbeam-utils",
-    "cmake",
-    "cpufeatures",
-    "crossbeam-channel",
-    "crossbeam-deque",
-    "crossbeam-epoch",
-    "crypto-common",
-    "ctor",
-    "diff",
-    "digest",
-    "either",
-    "filetime",
-    "fnv",
-    "getopts",
-    "generic-array",
-    "globset",
-    "hermit-abi",
-    "hex",
-    "ignore",
-    "itoa",
-    "lazy_static",
-    "libc",
-    "log",
-    "lzma-sys",
-    "memchr",
-    "memoffset",
-    "ntapi",
-    "num_cpus",
-    "once_cell",
-    "opener",
-    "output_vt100",
-    "pkg-config",
-    "pretty_assertions",
-    "proc-macro2",
-    "quote",
-    "rayon",
-    "rayon-core",
-    "redox_syscall",
-    "regex",
-    "regex-automata",
-    "regex-syntax",
-    "ryu",
-    "same-file",
-    "scopeguard",
-    "serde",
-    "serde_derive",
-    "serde_json",
-    "sha2",
-    "syn",
-    "sysinfo",
-    "tar",
-    "thread_local",
-    "toml",
-    "typenum",
-    "unicode-ident",
-    "unicode-width",
-    "version_check",
-    "walkdir",
-    "winapi",
-    "winapi-i686-pc-windows-gnu",
-    "winapi-util",
-    "winapi-x86_64-pc-windows-gnu",
-    "xattr",
-    "xz2",
-];
-
 const FORBIDDEN_TO_HAVE_DUPLICATES: &[&str] = &[
     // These two crates take quite a long time to build, so don't allow two versions of them
     // to accidentally sneak into our dependency graph, in order to ensure we keep our CI times
@@ -422,13 +346,6 @@ pub fn check(root: &Path, cargo: &Path, bad: &mut bool) {
     let metadata = t!(cmd.exec());
     let runtime_ids = HashSet::new();
     check_exceptions(&metadata, EXCEPTIONS_BOOTSTRAP, runtime_ids, bad);
-    check_dependencies(
-        &metadata,
-        "bootstrap",
-        PERMITTED_BOOTSTRAP_DEPENDENCIES,
-        &["bootstrap"],
-        bad,
-    );
 }
 
 /// Check that all licenses are in the valid list in `LICENSES`.