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

Method with_libcall_handler

cranelift/interpreter/src/interpreter.rs:234–237  ·  view source on GitHub ↗

Registers a libcall handler

(mut self, handler: LibCallHandler)

Source from the content-addressed store, hash-verified

232
233 /// Registers a libcall handler
234 pub fn with_libcall_handler(mut self, handler: LibCallHandler) -> Self {
235 self.libcall_handler = handler;
236 self
237 }
238}
239
240impl<'a> State<'a> for InterpreterState<'a> {

Callers 3

run_testFunction · 0.80
libcallFunction · 0.80
build_interpreterFunction · 0.80

Calls

no outgoing calls

Tested by 2

run_testFunction · 0.64
libcallFunction · 0.64