Rollup merge of #89713 - nbdd0121:doc2, r=Amanieu
Fix ABNF of inline asm options This is the case since #73227. r? `@camelid`
This commit is contained in:
commit
8aec76caf8
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ operand := reg_operand / "const" const_expr / "sym" path
|
|||
clobber_abi := "clobber_abi(" <abi> ")"
|
||||
option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "nostack" / "att_syntax" / "raw"
|
||||
options := "options(" option *["," option] [","] ")"
|
||||
asm := "asm!(" format_string *("," format_string) *("," [ident "="] operand) ["," clobber_abi] ["," options] [","] ")"
|
||||
asm := "asm!(" format_string *("," format_string) *("," [ident "="] operand) ["," clobber_abi] *("," options) [","] ")"
|
||||
```
|
||||
|
||||
Inline assembly is currently supported on the following architectures:
|
||||
|
|
Loading…
Reference in a new issue