mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Fix ABNF of inline asm options
This commit is contained in:
parent
15491d7b6b
commit
7b5bedf709
@ -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 New Issue
Block a user