diff --git a/tests/functions.rs b/tests/functions.rs index 637e42eb..16ea7253 100644 --- a/tests/functions.rs +++ b/tests/functions.rs @@ -1,6 +1,7 @@ #![cfg(not(feature = "no_function"))] use rhai::{Engine, EvalAltResult, FnNamespace, Module, ParseErrorType, Shared, INT}; +#[cfg(not(feature = "no_object"))] #[cfg(not(feature = "sync"))] #[test] fn test_functions_trait_object() -> Result<(), Box> {