Function cargo_lambda_build::create_binary_archive

source ยท
pub fn create_binary_archive<M, P>(
    manifest_path: M,
    base_dir: &Option<P>,
    data: &BinaryData<'_>,
    include: Option<Vec<PathBuf>>,
) -> 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.