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

Function exit_with_saved_fprs

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

Source from the content-addressed store, hash-verified

409// See https://github.com/bytecodealliance/wasmtime/issues/1967
410#[test]
411fn exit_with_saved_fprs() -> Result<()> {
412 let wasm = build_wasm("tests/all/cli_tests/exit_with_saved_fprs.wat")?;
413 let output = run_wasmtime_for_output(&["-Ccache=n", wasm.path().to_str().unwrap()], None)?;
414 assert_eq!(output.status.code().unwrap(), 0);
415 assert!(output.stdout.is_empty());
416 Ok(())
417}
418
419#[test]
420fn run_cwasm() -> Result<()> {

Callers

nothing calls this directly

Calls 6

run_wasmtime_for_outputFunction · 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