MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / build_help

Method build_help

crates/cargo-lambda-build/src/archive.rs:99–105  ·  view source on GitHub ↗

Command to use to build each kind of binary

(&self)

Source from the content-addressed store, hash-verified

97
98 /// Command to use to build each kind of binary
99 pub fn build_help(&self) -> &str {
100 match self {
101 BinaryData::Function(_) => "build",
102 BinaryData::ExternalExtension(_) => "build --extension",
103 BinaryData::InternalExtension(_) => "build --extension --internal",
104 }
105 }
106
107 pub(crate) fn binary_path_in_zip(&self) -> Result<String, BuildError> {
108 let file_name = if let Some(parent) = self.parent_dir() {

Callers 1

create_binary_archiveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected