MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / get_zig_info

Function get_zig_info

crates/cargo-lambda-build/src/zig.rs:67–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67pub fn get_zig_info() -> Result<ZigInfo> {
68 let Ok((path, run_modifiers)) = Zig::find_zig() else {
69 let options = install_options();
70 return Ok(ZigInfo {
71 install_options: Some(options),
72 ..Default::default()
73 });
74 };
75
76 get_zig_version(path, run_modifiers)
77}
78
79fn get_zig_version(
80 path: PathBuf,

Callers 2

check_installationFunction · 0.85
runFunction · 0.85

Calls 2

install_optionsFunction · 0.85
get_zig_versionFunction · 0.85

Tested by

no test coverage detected