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

Method cranelift_debug_verifier

crates/wasmtime/src/config.rs:1421–1427  ·  view source on GitHub ↗
(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1419 /// Panics if this configuration's compiler was [disabled][Config::enable_compiler].
1420 #[cfg(any(feature = "cranelift", feature = "winch"))]
1421 pub fn cranelift_debug_verifier(&mut self, enable: bool) -> &mut Self {
1422 let val = if enable { "true" } else { "false" };
1423 self.compiler_config_mut()
1424 .settings
1425 .insert("enable_verifier".to_string(), val.to_string());
1426 self
1427 }
1428
1429 /// Configures whether extra debug checks are inserted into
1430 /// Wasmtime-generated code by Cranelift.

Callers 3

run_wastFunction · 0.45
configFunction · 0.45

Calls 3

compiler_config_mutMethod · 0.80
insertMethod · 0.45
to_stringMethod · 0.45

Tested by 1

configFunction · 0.36