Skip to content

Commit 3b4598e

Browse files
committed
Check permitted dependencies for rustc-main
Rather than just for rustc_driver. rustc-main also depends on rustc_smir which may get unique dependencies in the future.
1 parent 0a95d7c commit 3b4598e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/tidy/src/deps.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
184184
"is-terminal",
185185
"itertools",
186186
"itoa",
187+
"jemalloc-sys",
187188
"jobserver",
188189
"lazy_static",
189190
"libc",
@@ -396,7 +397,7 @@ pub fn check(root: &Path, cargo: &Path, bad: &mut bool) {
396397
&metadata,
397398
"rustc",
398399
PERMITTED_RUSTC_DEPENDENCIES,
399-
&["rustc_driver", "rustc_codegen_llvm"],
400+
&["rustc-main"],
400401
bad,
401402
);
402403

0 commit comments

Comments
 (0)