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

Function minimal_command

tests/all/cli_tests.rs:316–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

314// Run a minimal command program.
315#[test]
316fn minimal_command() -> Result<()> {
317 let wasm = build_wasm("tests/all/cli_tests/minimal-command.wat")?;
318 let stdout = run_wasmtime(&["-Ccache=n", wasm.path().to_str().unwrap()])?;
319 assert_eq!(stdout, "");
320 Ok(())
321}
322
323// Run a minimal reactor program.
324#[test]

Callers

nothing calls this directly

Calls 6

run_wasmtimeFunction · 0.85
OkFunction · 0.85
to_strMethod · 0.80
build_wasmFunction · 0.70
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected