Function cargo_lambda_build::find_binary_archive
source · pub fn find_binary_archive<P: AsRef<Path>>(
name: &str,
base_dir: &Option<P>,
is_extension: bool
) -> 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.