mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
Fix things up, get things working
This commit is contained in:
@@ -410,6 +410,13 @@ impl Module {
|
||||
pub fn info(&self) -> &ModuleInfo {
|
||||
&self.artifact.module_ref()
|
||||
}
|
||||
|
||||
/// Temporary function to implement this; we probably want to implement the functionality
|
||||
/// dependent on the `Artifact` as individual hidden methods on the `Module`.
|
||||
#[doc(hidden)]
|
||||
pub fn artifact(&self) -> &Arc<dyn Artifact> {
|
||||
&self.artifact
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for Module {
|
||||
|
||||
Reference in New Issue
Block a user