Skip to content

Commit 25dd57b

Browse files
committed
llvm_asm! is under the llvm_asm feature gate
1 parent 088408a commit 25dd57b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/0000-llvm-asm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You should replace all uses of `asm!` with `llvm_asm!` in your code to avoid bre
3232

3333
All references to `asm!` inside the compiler will be changed to refer to `llvm_asm!` instead.
3434
`asm!` will become a simple (deprecated) `macro_rules!` which redirects to `llvm_asm!`.
35-
The deprecation warning will advise users that the semantics of `asm!` will change in the future and invite them to use `llvm_asm!` instead.
35+
The deprecation warning will advise users that the semantics of `asm!` will change in the future and invite them to use `llvm_asm!` instead. The `llvm_asm!` macro will be guarded by the `llvm_asm` feature gate.
3636

3737
# Drawbacks
3838
[drawbacks]: #drawbacks
@@ -59,7 +59,7 @@ for inline assembly, which allows direct access to variables in scope and does n
5959
# Unresolved questions
6060
[unresolved-questions]: #unresolved-questions
6161

62-
- Should the deprecated `asm!` macro be under the `asm` or `llvm_asm` feature gate?
62+
None
6363

6464
# Future possibilities
6565
[future-possibilities]: #future-possibilities

0 commit comments

Comments
 (0)