Skip to content

Commit

Permalink
tidy: Add test to RUNTIME_CRATES.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Mar 13, 2020
1 parent 3c48c89 commit 2e46faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/deps.rs
Expand Up @@ -54,7 +54,7 @@ const EXCEPTIONS: &[(&str, &str)] = &[

/// 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"];
Expand Down

0 comments on commit 2e46faa

Please sign in to comment.