about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-21 11:58:37 +0100
committerGitHub <noreply@github.com>2024-11-21 11:58:37 +0100
commit395649558a99eb5bc5d76b556dca12fc1f336346 (patch)
treef2cb9051d11d2021ae49f142ace3a78ffd4fca4d /compiler/rustc_codegen_llvm
parentfe5403f517617e1ecdf1cd3cd33bf205727f92c9 (diff)
parent809dc73d90d191c75b24840113797bd4f7e138b3 (diff)
downloadrust-395649558a99eb5bc5d76b556dca12fc1f336346.tar.gz
rust-395649558a99eb5bc5d76b556dca12fc1f336346.zip
Rollup merge of #131544 - nbdd0121:asm_goto_safe_block, r=petrochenkov
Make asm label blocks safe context

Tracking issue: https://github.com/rust-lang/rust/issues/119364

`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. It was suggested that a simple fix is to make asm label blocks safe: https://github.com/rust-lang/rust/issues/119364#issuecomment-2316037703.

`@rustbot` labels: +A-inline-assembly +F-asm
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions