Fix no_object build.

This commit is contained in:
Stephen Chung 2021-04-03 12:00:22 +08:00
parent f7ad1cec39
commit b1452f4c35

View File

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