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

Method with_default_host_isa

cranelift/filetests/src/function_runner.rs:139–142  ·  view source on GitHub ↗

Build a [TestFileCompiler] using the host machine's ISA and the default flags for this ISA.

()

Source from the content-addressed store, hash-verified

137 /// Build a [TestFileCompiler] using the host machine's ISA and the default flags for this
138 /// ISA.
139 pub fn with_default_host_isa() -> Result<Self> {
140 let flags = settings::Flags::new(settings::builder());
141 Self::with_host_isa(flags)
142 }
143
144 /// Declares and compiles all functions in `functions`. Additionally creates a trampoline for
145 /// each one of them.

Callers

nothing calls this directly

Calls 2

newFunction · 0.50
builderFunction · 0.50

Tested by

no test coverage detected