Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
llvm_asm! is under the llvm_asm feature gate
  • Loading branch information
Amanieu committed Feb 25, 2020
commit 25dd57bb44caf4dacd2be5c0623fcedb235614e4
4 changes: 2 additions & 2 deletions text/0000-llvm-asm.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You should replace all uses of `asm!` with `llvm_asm!` in your code to avoid bre

All references to `asm!` inside the compiler will be changed to refer to `llvm_asm!` instead.
`asm!` will become a simple (deprecated) `macro_rules!` which redirects to `llvm_asm!`.
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 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.

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

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

# Future possibilities
[future-possibilities]: #future-possibilities
Expand Down