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

Function command_invoke

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

Source from the content-addressed store, hash-verified

332// Attempt to call invoke on a command.
333#[test]
334fn command_invoke() -> Result<()> {
335 let wasm = build_wasm("tests/all/cli_tests/minimal-command.wat")?;
336 run_wasmtime(&[
337 "run",
338 "--invoke",
339 "_start",
340 "-Ccache=n",
341 wasm.path().to_str().unwrap(),
342 ])?;
343 Ok(())
344}
345
346// Attempt to call invoke on a command.
347#[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