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

Method sig

winch/codegen/src/abi/mod.rs:114–116  ·  view source on GitHub ↗
(wasm_sig: &WasmFuncType, call_conv: &CallingConvention)

Source from the content-addressed store, hash-verified

112 /// function type.
113 #[cfg(test)]
114 fn sig(wasm_sig: &WasmFuncType, call_conv: &CallingConvention) -> Result<ABISig> {
115 Self::sig_from(wasm_sig.params(), wasm_sig.results(), call_conv)
116 }
117
118 /// Construct an ABI signature from WasmType params and returns.
119 fn sig_from(

Callers

nothing calls this directly

Implementers 2

abi.rswinch/codegen/src/isa/x64/abi.rs
abi.rswinch/codegen/src/isa/aarch64/abi.rs

Calls 2

paramsMethod · 0.45
resultsMethod · 0.45

Tested by

no test coverage detected