Skip to content

Commit

Permalink
tidy: Remove cargo check.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ehuss authored and zaharidichev committed Mar 12, 2021
1 parent a346469 commit 76e7bef
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 95 deletions.
90 changes: 0 additions & 90 deletions src/tools/tidy/src/cargo.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/tools/tidy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ macro_rules! tidy_error {
}

pub mod bins;
pub mod cargo;
pub mod debug_artifacts;
pub mod deps;
pub mod edition;
Expand Down
4 changes: 0 additions & 4 deletions src/tools/tidy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ fn main() {
style::check(&compiler_path, &mut bad);
style::check(&library_path, &mut bad);

cargo::check(&src_path, &mut bad);
cargo::check(&compiler_path, &mut bad);
cargo::check(&library_path, &mut bad);

edition::check(&src_path, &mut bad);
edition::check(&compiler_path, &mut bad);
edition::check(&library_path, &mut bad);
Expand Down

0 comments on commit 76e7bef

Please sign in to comment.