Function cargo_lambda_build::find_binary_archive
source · pub fn find_binary_archive<M, P>(
name: &str,
manifest_path: M,
base_dir: &Option<P>,
is_extension: bool,
is_internal: bool,
include: Option<Vec<PathBuf>>
) -> Result<BinaryArchive>Expand description
Search for the bootstrap file for a function inside the target directory. If the binary file exists, it creates the zip archive and extracts its architecture by reading the binary.