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

Function run_zig

crates/cargo-lambda-cli/src/main.rs:351–356  ·  view source on GitHub ↗
(zig: Zig)

Source from the content-addressed store, hash-verified

349}
350
351fn run_zig(zig: Zig) -> Result<()> {
352 miette::set_hook(error_hook(None))?;
353 zig.execute()
354 .map_err(MetadataError::ZigBuildError)
355 .into_diagnostic()
356}

Callers 1

mainFunction · 0.85

Calls 1

error_hookFunction · 0.85

Tested by

no test coverage detected