Fix builds

This commit is contained in:
Stephen Chung
2020-11-27 23:37:59 +08:00
parent a0979d0c35
commit 36546c7325
7 changed files with 29 additions and 21 deletions

View File

@@ -151,6 +151,7 @@ impl AST {
&mut self.0
}
/// Get the internal shared [`Module`] containing all script-defined functions.
#[cfg(not(feature = "no_module"))]
#[cfg(not(feature = "no_function"))]
#[inline(always)]
pub(crate) fn shared_lib(&self) -> Shared<Module> {