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

Function use_bti

cranelift/jit/src/backend.rs:703–708  ·  view source on GitHub ↗
(isa_flags: &Vec<settings::Value>)

Source from the content-addressed store, hash-verified

701}
702
703fn use_bti(isa_flags: &Vec<settings::Value>) -> bool {
704 isa_flags
705 .iter()
706 .find(|&f| f.name == "use_bti")
707 .map_or(false, |f| f.as_bool().unwrap_or(false))
708}
709
710const _ASSERT_JIT_MODULE_IS_SEND: () = {
711 const fn assert_is_send<T: Send>() {}

Callers 1

finalize_definitionsMethod · 0.85

Calls 3

findMethod · 0.45
iterMethod · 0.45
as_boolMethod · 0.45

Tested by

no test coverage detected