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
) -> Result<BinaryArchive>where
M: AsRef<Path> + Debug,
P: AsRef<Path>,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.