1
Fork 0

Auto merge of #90348 - Amanieu:asm_feature_gates, r=joshtriplett

Add features gates for experimental asm features

This PR splits off parts of `asm!` into separate features because they are not ready for stabilization.

Specifically this adds:
- `asm_const` for `const` operands.
- `asm_sym` for `sym` operands.
- `asm_experimental_arch` for architectures other than x86, x86_64, arm, aarch64 and riscv.

r? `@nagisa`
This commit is contained in:
bors 2021-11-07 04:59:42 +00:00
commit 90a273b785
47 changed files with 253 additions and 103 deletions

View file

@ -327,6 +327,9 @@ symbols! {
as_ptr,
as_str,
asm,
asm_const,
asm_experimental_arch,
asm_sym,
assert,
assert_inhabited,
assert_macro,