rust/compiler/rustc_metadata/src
Stuart Cook 0abc6c6e98
Rollup merge of #138682 - Alexendoo:extra-symbols, r=fee1-dead
Allow drivers to supply a list of extra symbols to intern

Allows adding new symbols as `const`s in external drivers, desirable in Clippy so we can use them in patterns to replace code like 75530e9f72/src/tools/clippy/clippy_lints/src/casts/cast_ptr_alignment.rs (L66)

The Clippy change adds a couple symbols as a demo, the exact `clippy_utils` API and replacing other usages can be done on the Clippy side to minimise sync conflicts

---

try-job: aarch64-gnu
2025-04-11 13:31:44 +10:00
..
rmeta Rollup merge of #138682 - Alexendoo:extra-symbols, r=fee1-dead 2025-04-11 13:31:44 +10:00
creader.rs Make LevelAndSource a struct 2025-04-03 09:17:55 +00:00
dependency_format.rs Support rmeta inputs for --crate-type=bin --emit=obj 2025-03-07 18:33:05 +01:00
errors.rs Add an error when full metadata was not found 2025-03-31 09:44:41 +02:00
foreign_modules.rs Move some Map methods onto TyCtxt. 2025-02-17 13:21:02 +11:00
fs.rs Store only a metadata stub into rlibs and dylibs with -Zembed-metadata=no 2025-03-31 09:44:41 +02:00
lib.rs Rollup merge of #138273 - petrochenkov:nonatroot, r=bjorn3 2025-03-13 10:58:23 +01:00
locator.rs Add an error when full metadata was not found 2025-03-31 09:44:41 +02:00
native_libs.rs remove compiler support for extern "rust-intrinsic" blocks 2025-04-06 21:32:58 +02:00