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

Function mpk_without_pooling

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

Source from the content-addressed store, hash-verified

1076
1077#[test]
1078fn mpk_without_pooling() -> Result<()> {
1079 let output = get_wasmtime_command()?
1080 .args(&[
1081 "run",
1082 "-O",
1083 "memory-protection-keys=y",
1084 "--invoke",
1085 "echo_f32",
1086 "tests/all/cli_tests/simple.wat",
1087 "1.0",
1088 ])
1089 .env("WASMTIME_NEW_CLI", "1")
1090 .output()?;
1091 assert!(!output.status.success());
1092 Ok(())
1093}
1094
1095// Very basic use case: compile binary wasm file and run specific function with arguments.
1096#[test]

Callers

nothing calls this directly

Calls 5

get_wasmtime_commandFunction · 0.85
OkFunction · 0.85
outputMethod · 0.80
envMethod · 0.45
argsMethod · 0.45

Tested by

no test coverage detected