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

Method path

cranelift/src/interpret.rs:91–96  ·  view source on GitHub ↗

Return the path of the file runner or `[inline code]`.

(&self)

Source from the content-addressed store, hash-verified

89
90 /// Return the path of the file runner or `[inline code]`.
91 pub fn path(&self) -> String {
92 match self.path {
93 None => "[inline code]".to_string(),
94 Some(ref p) => p.to_string_lossy().to_string(),
95 }
96 }
97
98 /// Run the file; this searches for annotations like `; run: %fn0(42)` or
99 /// `; test: %fn0(42) == 2` and executes them, performing any test comparisons if necessary.

Callers 15

runMethod · 0.45
bench_wasiFunction · 0.45
bench_compileFunction · 0.45
bench_deserialize_moduleFunction · 0.45
bench_instantiationFunction · 0.45
executeMethod · 0.45
executeMethod · 0.45
test_read_clif_fileFunction · 0.45
find_cratesFunction · 0.45
merge_profrawFunction · 0.45
find_llvm_toolFunction · 0.45
find_testsFunction · 0.45

Calls 1

to_stringMethod · 0.45

Tested by 15

test_read_clif_fileFunction · 0.36
run_wasmtime_simpleFunction · 0.36
run_coredump_smoketestFunction · 0.36
run_wasmtime_simple_watFunction · 0.36
timeout_in_startFunction · 0.36
timeout_in_invokeFunction · 0.36
exit2_wasi_snapshot0Function · 0.36
exit2_wasi_snapshot1Function · 0.36
exit125_wasi_snapshot0Function · 0.36
exit125_wasi_snapshot1Function · 0.36
exit126_wasi_snapshot0Function · 0.36