about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/mod.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-01-08 10:26:24 +0000
committerTrevor Gross <tmgross@umich.edu>2025-01-08 16:27:31 -0500
commit933c4f5a811f2c73b82c35c5b759c2e6b0f5e2f0 (patch)
tree21e194635b8057b2b4023f43db02512896098ad7 /compiler/rustc_codegen_llvm/src/llvm/mod.rs
parent1f81f906893d166d05fb4839f169983f2b564cc7 (diff)
downloadrust-933c4f5a811f2c73b82c35c5b759c2e6b0f5e2f0.tar.gz
rust-933c4f5a811f2c73b82c35c5b759c2e6b0f5e2f0.zip
Add a list of symbols for stable standard library crates
There are a few locations where the crate name is checked against an
enumerated list of `std`, `core`, `alloc`, and `proc_macro`, or some
subset thereof. In most of these cases, all four crates should likely be
treated the same. Change this so the crates are listed in one place, and
that list is used wherever a list of `std` crates is needed.

`test` could be considered relevant in some of these cases, but
generally treating it separate from the others seems preferable while it
is unstable.

There are also a few places that Clippy will be able to use this.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions