Skip to main content

fusevm_aot_register_builtins

Function fusevm_aot_register_builtins 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn fusevm_aot_register_builtins(vm: *mut VM)
Expand description

The AOT runtime hook: install the node-js builtins + numeric hook and reload the embedded function/try tables before the main chunk runs. Required link symbol for a standalone node-js AOT binary.

§Safety

vm must be a valid, exclusively-borrowable pointer (fusevm’s AOT entry passes one).