mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 06:01:33 +00:00
doc(runtime-core) Update documentation.
This commit is contained in:
@ -219,10 +219,11 @@ pub trait RunnableModule: Send + Sync {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A wasm trampoline contains the necessary data to dynamically call an exported wasm function.
|
/// A wasm trampoline contains the necessary data to dynamically call an exported wasm function.
|
||||||
/// Given a particular signature index, we are returned a trampoline that is matched with that
|
/// Given a particular signature index, we are returning a trampoline that is matched with that
|
||||||
/// signature and an invoke function that can call the trampoline.
|
/// signature and an invoke function that can call the trampoline.
|
||||||
fn get_trampoline(&self, info: &ModuleInfo, sig_index: SigIndex) -> Option<Wasm>;
|
fn get_trampoline(&self, info: &ModuleInfo, sig_index: SigIndex) -> Option<Wasm>;
|
||||||
|
|
||||||
|
/// Trap an error.
|
||||||
unsafe fn do_early_trap(&self, data: Box<dyn Any + Send>) -> !;
|
unsafe fn do_early_trap(&self, data: Box<dyn Any + Send>) -> !;
|
||||||
|
|
||||||
/// Returns the machine code associated with this module.
|
/// Returns the machine code associated with this module.
|
||||||
|
Reference in New Issue
Block a user