pub fn load_aot_native(
path: &Path,
symbol: &str,
arity: usize,
) -> Option<(Box<dyn NativeFn>, Arc<AtomicU64>)>Expand description
dlopen path and resolve the AOT-native symbol (logos_native_<fn>) as an
all-Int function of arity, wrapping it as a NativeFn plus its shared call
counter. Returns None if the library or symbol cannot be loaded (the caller then
keeps the function on VM+JIT — no gap at the seam).