I'm trying to write inline assembly for a project. This project uses stable Rust. The dilemma is now this:
asm! is not stabilized yet and the stable compiler rejects it.
llvm_asm! has the same issue.
What is the way to use any inline assembly on the stable channel?
The same happens for
asm!() is not stable then you'll either need to switch to
nightly or write your assembly in a separate file that gets compiled and linked into your crate.
Do you just need access to a couple instructions? There may be stable intrinsics available under
Ah, there is cpuid, so I guess I'm good for now. Thank you!
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.