Skip to main content

run_bytecode

Function run_bytecode 

Source
pub fn run_bytecode(bytecode: &[u8]) -> i32
Expand description

Convenience entry for in-process Rust drivers (luna-aot’s integration tests, embedders that want to invoke the same code path without going through cc link).

Identical semantics to luna_aot_run but skips the raw-ptr + catch_unwind shim. Panics propagate.