Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Moving from llvm_asm! to asm! macro #25

Open
o8vm opened this issue Sep 20, 2020 · 0 comments
Open

Moving from llvm_asm! to asm! macro #25

o8vm opened this issue Sep 20, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@o8vm
Copy link
Owner

o8vm commented Sep 20, 2020

Although a new inline assembly syntax asm! was announced in Rust on 2020/06/08[1], KRaBs still uses llvm_am!.

[1] New inline assembly syntax available in nightly

According to the blog, the asm! macro should be safer and easier to use. This is expected to become the mainstream of inline assembly in the future, so KRaBs will have to transition to using asm! as well.
All llvm_asm! should be rewritten to the new asm! if it is rewritable.

The new inline assembly writing method is described in [2].

[2] rfcs/0000-inline-asm.md at inline-asm · Amanieu/rfcs

@o8vm o8vm added good first issue Good for newcomers enhancement New feature or request help wanted Extra attention is needed labels Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant