about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-04-11 13:31:44 +1000
committerGitHub <noreply@github.com>2025-04-11 13:31:44 +1000
commit65105f1324c75253cd5daead378f00d7def36a41 (patch)
tree1b3b1dee59095fee5c55e6bacdf3afb93ab9475d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent328b4fa9fe69d9d1ba5fb5329b33eee71e29329b (diff)
parent94ec23934cbed631cdbd6ab365f9f4fe073ca8b0 (diff)
downloadrust-65105f1324c75253cd5daead378f00d7def36a41.tar.gz
rust-65105f1324c75253cd5daead378f00d7def36a41.zip
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 https://github.com/rust-lang/rust/blob/75530e9f72a1990ed2305e16fd51d02f47048f12/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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions