pub fn bootstrap<L: LibLoader>(
executable: &Path,
envelope: BootstrapEnvelope,
policy: &BootstrapPolicy,
cx: &mut Cx,
loader: &L,
) -> Result<BootstrappedCapsule, BootstrapError>Expand description
Admit exactly one adjacent descriptor, capsule card, and native artifact.
executable is data supplied by the caller; this function deliberately
never discovers it. loader is normally the existing native dylib loader,
preserving the one sim_native_abi_v1 implementation.
ยงErrors
Refuses missing, changed, malformed, wrong-ABI, duplicate, or over-capable input and never tries an alternate location or loader.