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

Method compiler

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

Source from the content-addressed store, hash-verified

672#[cfg(any(feature = "cranelift", feature = "winch"))]
673impl Engine {
674 pub(crate) fn compiler(&self) -> Option<&dyn wasmtime_environ::Compiler> {
675 self.inner.compiler.as_deref()
676 }
677
678 pub(crate) fn try_compiler(&self) -> Result<&dyn wasmtime_environ::Compiler> {
679 self.compiler()

Callers 4

try_compilerMethod · 0.45
append_btiMethod · 0.45
hashMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected