mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 13:48:26 +00:00
Address more feedback, clean up code
This commit is contained in:
@@ -411,8 +411,11 @@ impl Module {
|
||||
&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`.
|
||||
/// Gets the [`Artifact`] used internally by the Module.
|
||||
///
|
||||
/// This API is hidden because it's not necessarily stable;
|
||||
/// this functionality is required for some core functionality though, like
|
||||
/// the object file engine.
|
||||
#[doc(hidden)]
|
||||
pub fn artifact(&self) -> &Arc<dyn Artifact> {
|
||||
&self.artifact
|
||||
|
||||
Reference in New Issue
Block a user