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

llvm-asm was depricated #13

Open
2 of 3 tasks
smups opened this issue Nov 14, 2022 · 0 comments
Open
2 of 3 tasks

llvm-asm was depricated #13

smups opened this issue Nov 14, 2022 · 0 comments

Comments

@smups
Copy link

smups commented Nov 14, 2022

Hi all,

I am trying to update the crate to compile using the current nightly compiler. This requires:

  • replacing AllocErr with the new AllocError
  • removing implementations of AllocRef, which has been replaced by a blanket impl in std
  • reworking the llvm-asm! assembly to platform-specific asm! assembly blocks.

The first two changes are trivial, but I can't fix the last one myself due to not being familiar with assembly at all. The original llvm-asm! macro has been completely removed and the compiler maintainers do not plan on bringing it back1. Instead, one should manually write platform-specific assembly using the asm! macro.

Could someone help with the last bit?

Would be cool to get this crate working again!

Footnotes

  1. this is because llvm assembly is apparently unstable between different versions of llvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant