Skip to main content

embedded_loader

Function embedded_loader 

Source
pub fn embedded_loader(image: &Path, cache_dirs: &[PathBuf]) -> Option<PathBuf>
Expand description

The host-runnable loader embedded in image, installed into the first usable cache_dirs entry (or, on Linux, a sealed memfd). None when the host runs APE natively, the image carries no valid loader for this host, or nothing could be materialized.