diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-08-25 18:29:26 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-10-10 12:47:25 +0000 |
| commit | 3b4598e0a460496efa3300f965dac9648aafdfb3 (patch) | |
| tree | d5dce890a82c876741d8f7bc8ab7fd99a450c340 /src/tools/tidy | |
| parent | 0a95d7c20a0f917b8e59dcd055694943477265e8 (diff) | |
| download | rust-3b4598e0a460496efa3300f965dac9648aafdfb3.tar.gz rust-3b4598e0a460496efa3300f965dac9648aafdfb3.zip | |
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.
Diffstat (limited to 'src/tools/tidy')
| -rw-r--r-- | src/tools/tidy/src/deps.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs index 835a1f3f507..88c0c3e5b69 100644 --- a/src/tools/tidy/src/deps.rs +++ b/src/tools/tidy/src/deps.rs @@ -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, ); |
