Skip to content

Commit 0473579

Browse files
authored
Merge pull request #1939 from tshepang/patch-2
add missing id, r[asm.operand-type.supported-operands.const]
2 parents 2d9827f + ddbc93b commit 0473579

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/inline-assembly.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ unsafe { core::arch::asm!("call {}", sym foo, clobber_abi("C")); }
382382
# }
383383
```
384384

385+
r[asm.operand-type.supported-operands.const]
385386
* `const <expr>`
386387
- `<expr>` must be an integer constant expression. This expression follows the same rules as inline `const` blocks.
387388
- The type of the expression may be any integer type, but defaults to `i32` just like integer literals.

0 commit comments

Comments
 (0)