From dc5e80c821e19318c8189446f0e3b23395e26e2e Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 30 Oct 2022 19:01:51 +0800 Subject: [PATCH] Fix builds. --- src/func/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/func/mod.rs b/src/func/mod.rs index 42ccb91d..0d886513 100644 --- a/src/func/mod.rs +++ b/src/func/mod.rs @@ -13,8 +13,9 @@ pub mod script; pub use args::FuncArgs; pub use builtin::{get_builtin_binary_op_fn, get_builtin_op_assignment_fn}; -#[cfg(not(feature = "no_module"))] -pub use call::{ensure_no_data_race, FnCallArgs}; +#[cfg(not(feature = "no_closure"))] +pub use call::ensure_no_data_race; +pub use call::FnCallArgs; pub use callable_function::CallableFunction; #[cfg(not(feature = "no_function"))] pub use func::Func;