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

Function can_run_on_cli

tests/all/pulley.rs:64–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62#[test]
63#[cfg(not(miri))]
64fn can_run_on_cli() -> Result<()> {
65 use crate::cli_tests::run_wasmtime;
66 run_wasmtime(&[
67 "--target",
68 &pulley_target(),
69 "tests/all/cli_tests/empty-module.wat",
70 ])?;
71 run_wasmtime(&[
72 "run",
73 "--target",
74 &pulley_target(),
75 "tests/all/cli_tests/empty-module.wat",
76 ])?;
77 Ok(())
78}
79
80fn provenance_test_config() -> Config {
81 let mut config = pulley_config();

Callers

nothing calls this directly

Calls 3

run_wasmtimeFunction · 0.85
pulley_targetFunction · 0.85
OkFunction · 0.85

Tested by

no test coverage detected