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

Method target

crates/cranelift/src/isa_builder.rs:49–52  ·  view source on GitHub ↗
(&mut self, target: target_lexicon::Triple)

Source from the content-addressed store, hash-verified

47 }
48
49 pub fn target(&mut self, target: target_lexicon::Triple) -> Result<()> {
50 self.inner = (self.lookup)(target)?;
51 Ok(())
52 }
53
54 pub fn settings(&self) -> Vec<Setting> {
55 self.inner

Callers 2

configMethod · 0.45

Calls 1

OkFunction · 0.85

Tested by

no test coverage detected