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

Method fmt

cranelift/reader/src/run_command.rs:71–79  ·  view source on GitHub ↗
(&self, f: &mut Formatter)

Source from the content-addressed store, hash-verified

69
70impl Display for RunCommand {
71 fn fmt(&self, f: &mut Formatter) -> fmt::Result {
72 match self {
73 RunCommand::Print(invocation) => write!(f, "print: {invocation}"),
74 RunCommand::Run(invocation, comparison, expected) => {
75 let expected = DisplayDataValues(expected);
76 write!(f, "run: {invocation} {comparison} {expected}")
77 }
78 }
79 }
80}
81
82/// Represent a function call; [RunCommand]s invoke a CLIF function using an [Invocation].

Callers

nothing calls this directly

Calls 2

DisplayDataValuesClass · 0.85
write_data_value_listFunction · 0.85

Tested by

no test coverage detected