Skip to content

Commit 81482e6

Browse files
committed
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.
1 parent 345eb14 commit 81482e6

File tree

1 file changed

+0
-83
lines changed

1 file changed

+0
-83
lines changed

src/tools/tidy/src/deps.rs

-83
Original file line numberDiff line numberDiff line change
@@ -293,82 +293,6 @@ const PERMITTED_CRANELIFT_DEPENDENCIES: &[&str] = &[
293293
"winapi-x86_64-pc-windows-gnu",
294294
];
295295

296-
const PERMITTED_BOOTSTRAP_DEPENDENCIES: &[&str] = &[
297-
"aho-corasick",
298-
"autocfg",
299-
"ansi_term",
300-
"block-buffer",
301-
"bitflags",
302-
"bstr",
303-
"core-foundation-sys",
304-
"cc",
305-
"cfg-if",
306-
"crossbeam-utils",
307-
"cmake",
308-
"cpufeatures",
309-
"crossbeam-channel",
310-
"crossbeam-deque",
311-
"crossbeam-epoch",
312-
"crypto-common",
313-
"ctor",
314-
"diff",
315-
"digest",
316-
"either",
317-
"filetime",
318-
"fnv",
319-
"getopts",
320-
"generic-array",
321-
"globset",
322-
"hermit-abi",
323-
"hex",
324-
"ignore",
325-
"itoa",
326-
"lazy_static",
327-
"libc",
328-
"log",
329-
"lzma-sys",
330-
"memchr",
331-
"memoffset",
332-
"ntapi",
333-
"num_cpus",
334-
"once_cell",
335-
"opener",
336-
"output_vt100",
337-
"pkg-config",
338-
"pretty_assertions",
339-
"proc-macro2",
340-
"quote",
341-
"rayon",
342-
"rayon-core",
343-
"redox_syscall",
344-
"regex",
345-
"regex-automata",
346-
"regex-syntax",
347-
"ryu",
348-
"same-file",
349-
"scopeguard",
350-
"serde",
351-
"serde_derive",
352-
"serde_json",
353-
"sha2",
354-
"syn",
355-
"sysinfo",
356-
"tar",
357-
"thread_local",
358-
"toml",
359-
"typenum",
360-
"unicode-ident",
361-
"unicode-width",
362-
"version_check",
363-
"walkdir",
364-
"winapi",
365-
"winapi-i686-pc-windows-gnu",
366-
"winapi-util",
367-
"winapi-x86_64-pc-windows-gnu",
368-
"xattr",
369-
"xz2",
370-
];
371-
372296
const FORBIDDEN_TO_HAVE_DUPLICATES: &[&str] = &[
373297
// These two crates take quite a long time to build, so don't allow two versions of them
374298
// 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) {
422346
let metadata = t!(cmd.exec());
423347
let runtime_ids = HashSet::new();
424348
check_exceptions(&metadata, EXCEPTIONS_BOOTSTRAP, runtime_ids, bad);
425-
check_dependencies(
426-
&metadata,
427-
"bootstrap",
428-
PERMITTED_BOOTSTRAP_DEPENDENCIES,
429-
&["bootstrap"],
430-
bad,
431-
);
432349
}
433350

434351
/// Check that all licenses are in the valid list in `LICENSES`.

0 commit comments

Comments
 (0)