Skip to content

llvm-asm was depricated #13

@smups

Description

@smups

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions