]> git.lizzy.rs Git - rust.git/commitdiff
tidy: Add `test` to RUNTIME_CRATES.
authorEric Huss <eric@huss.org>
Tue, 25 Feb 2020 15:28:46 +0000 (07:28 -0800)
committerEric Huss <eric@huss.org>
Fri, 13 Mar 2020 02:19:18 +0000 (19:19 -0700)
src/tools/tidy/src/deps.rs

index 886bdf6fbbf893c38a41de32170842a1d76fd4c4..1aee4d7cda43ca46acb4a88d76ce4852d5e22a03 100644 (file)
@@ -54,7 +54,7 @@
 
 /// These are the root crates that are part of the runtime. The licenses for
 /// these and all their dependencies *must not* be in the exception list.
-const RUNTIME_CRATES: &[&str] = &["std", "core", "alloc", "panic_abort", "panic_unwind"];
+const RUNTIME_CRATES: &[&str] = &["std", "core", "alloc", "test", "panic_abort", "panic_unwind"];
 
 /// Which crates to check against the whitelist?
 const WHITELIST_CRATES: &[&str] = &["rustc", "rustc_codegen_llvm"];