Skip to content

Commit

Permalink
Rollup merge of #89713 - nbdd0121:doc2, r=Amanieu
Browse files Browse the repository at this point in the history
Fix ABNF of inline asm options

This is the case since #73227.

r? `@camelid`
  • Loading branch information
matthiaskrgr authored Oct 10, 2021
2 parents ce6097d + 7b5bedf commit 8aec76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/library-features/asm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8aec76c

Please sign in to comment.