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

Function minimal_reactor

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

Source from the content-addressed store, hash-verified

323// Run a minimal reactor program.
324#[test]
325fn minimal_reactor() -> Result<()> {
326 let wasm = build_wasm("tests/all/cli_tests/minimal-reactor.wat")?;
327 let stdout = run_wasmtime(&["-Ccache=n", wasm.path().to_str().unwrap()])?;
328 assert_eq!(stdout, "");
329 Ok(())
330}
331
332// Attempt to call invoke on a command.
333#[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