doc(runtime-core) Update documentation.

This commit is contained in:
Ivan Enderlin
2020-01-10 15:14:34 +01:00
parent 684620435f
commit c7a4825bee

View File

@ -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.