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

Method is_escaping

crates/environ/src/module.rs:761–763  ·  view source on GitHub ↗

Returns whether this function's type is one that "escapes" the current module, meaning that the function is exported, used in `ref.func`, used in a table, etc.

(&self)

Source from the content-addressed store, hash-verified

759 /// module, meaning that the function is exported, used in `ref.func`, used
760 /// in a table, etc.
761 pub fn is_escaping(&self) -> bool {
762 !self.func_ref.is_reserved_value()
763 }
764}
765
766/// Index into the funcref table within a VMContext for a function.

Callers 3

translate_payloadMethod · 0.80
flag_func_escapedMethod · 0.80

Calls 1

is_reserved_valueMethod · 0.45

Tested by

no test coverage detected