Implement options(noreturn)
for asm!
.
#570
Labels
a: asm
Issues related to inline assembly.
c: rustc_codegen_spirv
Issues specific to the rustc_codegen_spirv crate.
t: enhancement
A new feature or improvement to an existing one.
Currently you cannot correctly write an inline assembly that uses a terminator, as there's no way to specify
options(noreturn)
. This means for example that we can't set functions that use these terminators to-> !
to be able to behave likepanic!
from std.The text was updated successfully, but these errors were encountered: