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

Method try_compiler

crates/wasmtime/src/engine.rs:678–681  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

676 }
677
678 pub(crate) fn try_compiler(&self) -> Result<&dyn wasmtime_environ::Compiler> {
679 self.compiler()
680 .ok_or_else(|| format_err!("Engine was not configured with a compiler"))
681 }
682
683 /// Ahead-of-time (AOT) compiles a WebAssembly module.
684 ///

Callers 6

build_module_artifactsFunction · 0.80
compileMethod · 0.80
link_and_append_codeMethod · 0.80
newMethod · 0.80

Calls 1

compilerMethod · 0.45

Tested by

no test coverage detected