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

Function hello_wasi_snapshot1

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

Source from the content-addressed store, hash-verified

186// Run a simple WASI hello world, snapshot1 edition.
187#[test]
188fn hello_wasi_snapshot1() -> Result<()> {
189 let stdout = run_wasmtime(&["-Ccache=n", "tests/all/cli_tests/hello_wasi_snapshot1.wat"])?;
190 assert_eq!(stdout, "Hello, world!\n");
191 Ok(())
192}
193
194#[test]
195fn timeout_in_start() -> Result<()> {

Callers

nothing calls this directly

Calls 2

run_wasmtimeFunction · 0.85
OkFunction · 0.85

Tested by

no test coverage detected