MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / cmd_status

Function cmd_status

scripts/publish.rs:226–232  ·  view source on GitHub ↗
(cmd: &mut Command)

Source from the content-addressed store, hash-verified

224}
225
226fn cmd_status(cmd: &mut Command) -> ExitStatus {
227 eprintln!("Running: `{:?}`", cmd);
228 match cmd.status() {
229 Ok(s) => s,
230 Err(e) => panic!("Failed to run `{:?}`: {}", cmd, e),
231 }
232}
233
234fn run_cmd(cmd: &mut Command) {
235 let status = cmd_status(cmd);

Callers 2

run_cmdFunction · 0.85
publishFunction · 0.85

Calls 1

statusMethod · 0.80

Tested by

no test coverage detected