Crate relib_host

Crate relib_host 

Source

Re-exports§

pub use exports_types::InitImports;
pub use exports_types::ModuleExportsForHost;

Modules§

exports_types

Structs§

Module

Enums§

LoadError
UnloadError

Functions§

forcibly_reinit_dbghelp
Don’t use it unless you really need to. Forcibly terminates and reinitializes dbghelp.dll for backtraces on Windows.
init
Currently, it’s only needed for Windows for backtraces (for example, std::backtrace::Backtrace) to work correctly in modules. And it also needed for background threads check. Can be called before creating any backtraces and threads if load_module panics due to already loaded dbghelp.dll.
load_module
Loads a module (dynamic library) by specified path.
load_module_with_options
See load_module.