about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-18 08:50:40 +0000
committerbors <bors@rust-lang.org>2024-09-18 08:50:40 +0000
commit3ffeee321ec8155bb32ac67ed8570bbc9655f38d (patch)
tree8ebae4acfd27176434552b785f63e1fac997d1d1 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parente700b48393e8f42b9fbda250389f8c92de94998a (diff)
parentfcf38beac5e6590bc502b2ae6ceb9a24b776b4fa (diff)
downloadrust-3ffeee321ec8155bb32ac67ed8570bbc9655f38d.tar.gz
rust-3ffeee321ec8155bb32ac67ed8570bbc9655f38d.zip
Auto merge of #18136 - valadaptive:no-mangle-lints, r=Veykril
Don't lint names of #[no_mangle] extern fns

[Rust doesn't run the `non_snake_case_name` lint on `extern fn`s with the `#[no_mangle]` attribute](https://github.com/rust-lang/rust/pull/44966).

The conditions are:
- The function must be `extern` and have a `#[no_mangle]` attribute.
- The function's ABI must not be explicitly set to "Rust".

This PR replicates that logic here.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions