Skip to content

Commit 2fa18b8

Browse files
committed
Remove obsolete crate exceptions
1 parent d7cd6e2 commit 2fa18b8

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/tools/tidy/src/deps.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,6 @@ fn check_exceptions(metadata: &Metadata, bad: &mut bool) {
244244
}
245245
// Check that the license hasn't changed.
246246
for pkg in metadata.packages.iter().filter(|p| p.name == *name) {
247-
if pkg.name == "fuchsia-cprng" {
248-
// This package doesn't declare a license expression. Manual
249-
// inspection of the license file is necessary, which appears
250-
// to be BSD-3-Clause.
251-
assert!(pkg.license.is_none());
252-
continue;
253-
}
254247
match &pkg.license {
255248
None => {
256249
tidy_error!(
@@ -261,14 +254,6 @@ fn check_exceptions(metadata: &Metadata, bad: &mut bool) {
261254
}
262255
Some(pkg_license) => {
263256
if pkg_license.as_str() != *license {
264-
if *name == "crossbeam-queue"
265-
&& *license == "MIT/Apache-2.0 AND BSD-2-Clause"
266-
{
267-
// We have two versions of crossbeam-queue and both
268-
// are fine.
269-
continue;
270-
}
271-
272257
println!("dependency exception `{}` license has changed", name);
273258
println!(" previously `{}` now `{}`", license, pkg_license);
274259
println!(" update EXCEPTIONS for the new license");

0 commit comments

Comments
 (0)