disallow naked_asm!
outside of #[naked]
functions
This commit is contained in:
parent
26b2b8d162
commit
6ca5ec7b4e
11 changed files with 132 additions and 16 deletions
|
@ -484,6 +484,9 @@ passes_must_not_suspend =
|
|||
passes_must_use_no_effect =
|
||||
`#[must_use]` has no effect when applied to {$article} {$target}
|
||||
|
||||
passes_naked_asm_outside_naked_fn =
|
||||
the `naked_asm!` macro can only be used in functions marked with `#[naked]`
|
||||
|
||||
passes_naked_functions_asm_block =
|
||||
naked functions must contain a single asm block
|
||||
.label_multiple_asm = multiple asm blocks are unsupported in naked functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue