onlineasm
Portable assembler for x86-64, AArch64, and RISC-V 64.
use ;
let mut asm = native;
// onlineasm has no built-in `arg0`/`arg1` ABI aliases. Declare them
// yourself, per target/ABI (see reference).
let = match asm.target ;
onlineasm!;
// `add` is a Rust `Label` in scope after the macro.
let code = asm.finish.expect;
let entry = code.offset.expect;
let mut jit = new;
let span = code.allocate.expect;
let f: extern "C" fn =
unsafe ;
assert_eq!;