Skip to content

Commit

Permalink
add directories to tidy dep check
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Dec 12, 2023
1 parent 8a17f68 commit 6c24541
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_feature/Cargo.toml
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
# tidy-alphabetical-start
directories = "5.0"
time = { version = "0.3", default-features = false, features = ["alloc", "formatting"] }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_span = { path = "../rustc_span" }
time = { version = "0.3", default-features = false, features = ["alloc", "formatting"] }
# tidy-alphabetical-end
4 changes: 4 additions & 0 deletions src/tools/tidy/src/deps.rs
Expand Up @@ -220,6 +220,8 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
"derive_more",
"derive_setters",
"digest",
"directories", // Already used by Miri
"dirs-sys", // Dependency of `directories`
"displaydoc",
"dissimilar",
"dlmalloc",
Expand Down Expand Up @@ -282,6 +284,7 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
"object",
"odht",
"once_cell",
"option-ext", // Dependency of `directories`
"overload",
"parking_lot",
"parking_lot_core",
Expand All @@ -305,6 +308,7 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
"rand_xorshift",
"rand_xoshiro",
"redox_syscall",
"redox_users", // Dependency of `directories`
"regex",
"regex-automata",
"regex-syntax",
Expand Down

0 comments on commit 6c24541

Please sign in to comment.