llvm-asm was depricated
smups opened this issue · 0 comments
smups commented
Hi all,
I am trying to update the crate to compile using the current nightly compiler. This requires:
- replacing
AllocErr
with the newAllocError
- removing implementations of
AllocRef
, which has been replaced by a blanket impl in std - reworking the
llvm-asm!
assembly to platform-specificasm!
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
-
this is because llvm assembly is apparently unstable between different versions of llvm ↩