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.
This commit is contained in:
parent
0a95d7c20a
commit
3b4598e0a4
1 changed files with 2 additions and 1 deletions
|
|
@ -184,6 +184,7 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
|
|||
"is-terminal",
|
||||
"itertools",
|
||||
"itoa",
|
||||
"jemalloc-sys",
|
||||
"jobserver",
|
||||
"lazy_static",
|
||||
"libc",
|
||||
|
|
@ -396,7 +397,7 @@ pub fn check(root: &Path, cargo: &Path, bad: &mut bool) {
|
|||
&metadata,
|
||||
"rustc",
|
||||
PERMITTED_RUSTC_DEPENDENCIES,
|
||||
&["rustc_driver", "rustc_codegen_llvm"],
|
||||
&["rustc-main"],
|
||||
bad,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue