From b1452f4c35fed0f58459b7aa5e01c75a199e45a0 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sat, 3 Apr 2021 12:00:22 +0800 Subject: [PATCH] Fix no_object build. --- tests/functions.rs | 1 + 1 file changed, 1 insertion(+) 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> {