Skip to content

Commit 3eebf9b

Browse files
committed
tidy: Remove cargo check.
The cargo check was checking that every dependency had an `extern crate`. The compiler has not used `extern crate` in a long time (edition 2018). The test was broken (the call to `!super::filter_dirs(path)` was backwards). This just removes it since it is no longer valid.
1 parent 7fba12b commit 3eebf9b

File tree

3 files changed

+0
-95
lines changed

3 files changed

+0
-95
lines changed

src/tools/tidy/src/cargo.rs

Lines changed: 0 additions & 90 deletions
This file was deleted.

src/tools/tidy/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ macro_rules! tidy_error {
4040
}
4141

4242
pub mod bins;
43-
pub mod cargo;
4443
pub mod debug_artifacts;
4544
pub mod deps;
4645
pub mod edition;

src/tools/tidy/src/main.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ fn main() {
4949
style::check(&compiler_path, &mut bad);
5050
style::check(&library_path, &mut bad);
5151

52-
cargo::check(&src_path, &mut bad);
53-
cargo::check(&compiler_path, &mut bad);
54-
cargo::check(&library_path, &mut bad);
55-
5652
edition::check(&src_path, &mut bad);
5753
edition::check(&compiler_path, &mut bad);
5854
edition::check(&library_path, &mut bad);

0 commit comments

Comments
 (0)