about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-12-02 19:36:08 +0100
committerRalf Jung <post@ralfj.de>2023-12-02 19:38:50 +0100
commitc0c0b5b5a6a390f0e59f109d07f9b257e75ce74c (patch)
treed99a5bd720c2f977c1b12d3c1dec375a38d6bda7
parent71c9ceb4da58bf792539879dbb1f32fba4569b71 (diff)
downloadrust-c0c0b5b5a6a390f0e59f109d07f9b257e75ce74c.tar.gz
rust-c0c0b5b5a6a390f0e59f109d07f9b257e75ce74c.zip
allow zerocopy license
-rw-r--r--src/tools/tidy/src/deps.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs
index 1f8edd7937b..6baf2e21604 100644
--- a/src/tools/tidy/src/deps.rs
+++ b/src/tools/tidy/src/deps.rs
@@ -16,6 +16,7 @@ const LICENSES: &[&str] = &[
     "Apache-2.0 OR MIT",
     "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT", // wasi license
     "Apache-2.0/MIT",
+    "BSD-2-Clause OR Apache-2.0 OR MIT",                   // zerocopy
     "ISC",
     "MIT / Apache-2.0",
     "MIT OR Apache-2.0 OR LGPL-2.1-or-later",              // r-efi, r-efi-alloc
@@ -392,6 +393,8 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
     "yansi-term", // this is a false-positive: it's only used by rustfmt, but because it's enabled through a feature, tidy thinks it's used by rustc as well.
     "yoke",
     "yoke-derive",
+    "zerocopy",
+    "zerocopy-derive",
     "zerofrom",
     "zerofrom-derive",
     "zerovec",