mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-14 09:21:20 +00:00
Add debug prototype 2 (fork of wasmtime-debug)
This commit is contained in:
@ -250,6 +250,7 @@ impl<
|
||||
cache_gen,
|
||||
runnable_module: Arc::new(Box::new(exec_context)),
|
||||
info: Arc::try_unwrap(info).unwrap().into_inner().unwrap(),
|
||||
debug_info: None,
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -20,12 +20,18 @@ use indexmap::IndexMap;
|
||||
use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[doc(hidden)]
|
||||
pub struct DebugInfo {
|
||||
|
||||
}
|
||||
|
||||
/// This is used to instantiate a new WebAssembly module.
|
||||
#[doc(hidden)]
|
||||
pub struct ModuleInner {
|
||||
pub runnable_module: Arc<Box<dyn RunnableModule>>,
|
||||
pub cache_gen: Box<dyn CacheGen>,
|
||||
pub info: ModuleInfo,
|
||||
pub debug_info: Option<DebugInfo>,
|
||||
}
|
||||
|
||||
/// Container for module data including memories, globals, tables, imports, and exports.
|
||||
|
Reference in New Issue
Block a user