about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-03 18:36:38 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-05-03 18:41:59 +0200
commit2fa18b8864be68948fdd5df2170bf75e5bb0b158 (patch)
tree12f51c4405a16fa31f78f79854921844bfd99cdb /src
parentd7cd6e24264d75b7771e63fc15bfcb40a0678d92 (diff)
downloadrust-2fa18b8864be68948fdd5df2170bf75e5bb0b158.tar.gz
rust-2fa18b8864be68948fdd5df2170bf75e5bb0b158.zip
Remove obsolete crate exceptions
Diffstat (limited to 'src')
-rw-r--r--src/tools/tidy/src/deps.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs
index 4d9a19535ad..86231946bb7 100644
--- a/src/tools/tidy/src/deps.rs
+++ b/src/tools/tidy/src/deps.rs
@@ -244,13 +244,6 @@ fn check_exceptions(metadata: &Metadata, bad: &mut bool) {
         }
         // Check that the license hasn't changed.
         for pkg in metadata.packages.iter().filter(|p| p.name == *name) {
-            if pkg.name == "fuchsia-cprng" {
-                // This package doesn't declare a license expression. Manual
-                // inspection of the license file is necessary, which appears
-                // to be BSD-3-Clause.
-                assert!(pkg.license.is_none());
-                continue;
-            }
             match &pkg.license {
                 None => {
                     tidy_error!(
@@ -261,14 +254,6 @@ fn check_exceptions(metadata: &Metadata, bad: &mut bool) {
                 }
                 Some(pkg_license) => {
                     if pkg_license.as_str() != *license {
-                        if *name == "crossbeam-queue"
-                            && *license == "MIT/Apache-2.0 AND BSD-2-Clause"
-                        {
-                            // We have two versions of crossbeam-queue and both
-                            // are fine.
-                            continue;
-                        }
-
                         println!("dependency exception `{}` license has changed", name);
                         println!("    previously `{}` now `{}`", license, pkg_license);
                         println!("    update EXCEPTIONS for the new license");