Skip to content

Switch to rust-lang/rust#72016 asm! syntax #3

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Nov 14, 2021

Conversation

kennystrawnmusic
Copy link
Contributor

@kennystrawnmusic kennystrawnmusic commented Jul 16, 2020

Per rust-lang/rust#72016, asm! is back ― but it has a brand-new syntax associated with it that includes, among other things, intel and volatile by default. As if that's not enough, they're now deprecating llvm_asm! upstream in favor of this.

Per the bug report referenced in the above, `asm!` is back ― but it has a [brand-new syntax](https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html) associated with it that includes, among other things, `intel` and `volatile` by default. As if that's not enough, they're now deprecating `llvm_asm!` upstream in favor of this.
Intel is the default syntax in the new `asm!` which means that one must reverse the operands when switching to it
@trashbyte trashbyte merged commit 9ed3a52 into trashbyte:master Nov 14, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants