about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2024-10-11 11:54:16 +0100
committerGary Guo <gary@garyguo.net>2024-10-11 11:54:30 +0100
commit809dc73d90d191c75b24840113797bd4f7e138b3 (patch)
tree021c11f4c9ba88251a13dc57f947bed4d9969fef /compiler/rustc_codegen_llvm/src/asm.rs
parent4cc494bbfe9911d24f3ee521f98d5c6bb7e3ffe8 (diff)
downloadrust-809dc73d90d191c75b24840113797bd4f7e138b3.tar.gz
rust-809dc73d90d191c75b24840113797bd4f7e138b3.zip
Make asm label blocks safe context
`asm!()` is forced to be wrapped inside unsafe. If there's no special
treatment, the label blocks would also always be unsafe with no way
of opting out.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions