Module trap

Source

Re-exportsยง

pub use frame_info::CompiledFunctionFrameInfoVariant;
pub use frame_info::FRAME_INFO;
pub use frame_info::FrameInfosVariant;
pub use frame_info::FunctionExtent;
pub use frame_info::GlobalFrameInfoRegistration;
pub use frame_info::register as register_frame_info;
pub use stack::get_trace_and_trapcode;

Modulesยง

frame_info ๐Ÿ”’
This module is used for having backtraces in the Wasm runtime. Once the Compiler has compiled the ModuleInfo, and we have a set of compiled functions (addresses and function index) and a module, then we can use this to set a backtrace for that module.
stack ๐Ÿ”’