Command to use to build each kind of binary
(&self)
| 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() { |
no outgoing calls
no test coverage detected