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

Function box_dyn_any_compiled_function

crates/winch/src/compiler.rs:91–95  ·  view source on GitHub ↗
(f: CompiledFunction)

Source from the content-addressed store, hash-verified

89}
90
91fn box_dyn_any_compiled_function(f: CompiledFunction) -> Box<dyn Any + Send + Sync> {
92 let b = box_dyn_any(f);
93 debug_assert!(b.is::<CompiledFunction>());
94 b
95}
96
97fn box_dyn_any(x: impl Any + Send + Sync) -> Box<dyn Any + Send + Sync> {
98 log::trace!(

Callers 1

compile_functionMethod · 0.70

Calls 1

box_dyn_anyFunction · 0.70

Tested by

no test coverage detected