Re:Asm-declaration – Embed assembly language code within a C...
by cesarb on Friday July 26, 2019 @12:58PM
(#20536245)
> Being able to grab a chunk of inline assembly from a C project is very useful.
Wasn't Rust's current inline assembly syntax subtly different from the gcc-compatible one you'd find in most C projects? IIRC, it uses the syntax from the LLVM IR to specify inputs and outputs, instead of the syntax from GCC inline assembly.
Wasn't Rust's current inline assembly syntax subtly different from the gcc-compatible one you'd find in most C projects? IIRC, it uses the syntax from the LLVM IR to specify inputs and outputs, instead of the syntax from GCC inline assembly.