about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-17 01:54:24 +0000
committerbors <bors@rust-lang.org>2024-02-17 01:54:24 +0000
commit5471e0645a497ab331ae38adc965aa15b74aa8c9 (patch)
treeb9e8611ea646b473c3665b589f838b7932f443b5 /compiler/rustc_codegen_llvm/src
parentab8880bdf33401ab69ae0ac38c7ceb454c6ca9bf (diff)
parent9b5e4c6d57decaa419e3af48d0c6b95cb5b7620e (diff)
downloadrust-5471e0645a497ab331ae38adc965aa15b74aa8c9.tar.gz
rust-5471e0645a497ab331ae38adc965aa15b74aa8c9.zip
Auto merge of #12305 - beetrees:asm-syntax, r=Manishearth
Ensure ASM syntax detect `global_asm!` and `asm!` only on x86 architectures

The ASM syntax lint is only relevant on x86 architectures, so this PR ensures it doesn't trigger on other architectures. This PR also makes the lints check `global_asm!` items as well as `asm!` expressions.

changelog: Check `global_asm!` items in the ASM syntax lints, and fix false positives on non-x86 architectures.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions