diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-11-07 14:17:16 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2024-11-07 14:17:16 +0000 |
| commit | b480f0f224b6e92a514a477516dd65d06b68f3cc (patch) | |
| tree | 4047341a76d1bf27dc3c21bd6e31ebd49084731a /compiler/rustc/src/main.rs | |
| parent | fe43131683267082fc46be5796ce84351e9fb497 (diff) | |
| download | rust-b480f0f224b6e92a514a477516dd65d06b68f3cc.tar.gz rust-b480f0f224b6e92a514a477516dd65d06b68f3cc.zip | |
Remove unused intercrate dependencies
Diffstat (limited to 'compiler/rustc/src/main.rs')
| -rw-r--r-- | compiler/rustc/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc/src/main.rs b/compiler/rustc/src/main.rs index e9a7397557e..ccf88d8ff4b 100644 --- a/compiler/rustc/src/main.rs +++ b/compiler/rustc/src/main.rs @@ -1,5 +1,7 @@ // We need this feature as it changes `dylib` linking behavior and allows us to link to `rustc_driver`. #![feature(rustc_private)] +// Several crates are depended upon but unused so that they are present in the sysroot +#![expect(unused_crate_dependencies)] // A note about jemalloc: rustc uses jemalloc when built for CI and // distribution. The obvious way to do this is with the `#[global_allocator]` |
