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

Function write_function_spec

cranelift/codegen/src/write.rs:202–204  ·  view source on GitHub ↗

Writes the spec (name and signature) of 'func' to 'w' as text.

(w: &mut dyn Write, func: &Function)

Source from the content-addressed store, hash-verified

200
201/// Writes the spec (name and signature) of 'func' to 'w' as text.
202pub fn write_function_spec(w: &mut dyn Write, func: &Function) -> fmt::Result {
203 write!(w, "{}{}", func.name, func.signature)
204}
205
206//----------------------------------------------------------------------
207//

Callers 2

decorate_functionFunction · 0.85
fmtMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected