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

Function reactor_invoke

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

Source from the content-addressed store, hash-verified

346// Attempt to call invoke on a command.
347#[test]
348fn reactor_invoke() -> Result<()> {
349 let wasm = build_wasm("tests/all/cli_tests/minimal-reactor.wat")?;
350 run_wasmtime(&[
351 "run",
352 "--invoke",
353 "_initialize",
354 "-Ccache=n",
355 wasm.path().to_str().unwrap(),
356 ])?;
357 Ok(())
358}
359
360// Run the greeter test, which runs a preloaded reactor and a command.
361#[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