Fix things up, get things working

This commit is contained in:
Mark McCaskey
2020-08-28 14:54:20 -07:00
parent 28aead6a50
commit 485cc1dc7e
7 changed files with 292 additions and 197 deletions

View File

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