mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-12 08:31:21 +00:00
Code loader framework.
This commit is contained in:
@ -80,6 +80,9 @@ pub trait RunnableModule: Send + Sync {
|
||||
fn get_trampoline(&self, info: &ModuleInfo, sig_index: SigIndex) -> Option<Wasm>;
|
||||
|
||||
unsafe fn do_early_trap(&self, data: Box<dyn Any>) -> !;
|
||||
|
||||
fn get_code(&self) -> Option<&[u8]> { None }
|
||||
fn get_offsets(&self) -> Option<Vec<usize>> { None }
|
||||
}
|
||||
|
||||
pub trait CacheGen: Send + Sync {
|
||||
|
Reference in New Issue
Block a user