Fix no_object build.
This commit is contained in:
parent
f7ad1cec39
commit
b1452f4c35
@ -1,6 +1,7 @@
|
|||||||
#![cfg(not(feature = "no_function"))]
|
#![cfg(not(feature = "no_function"))]
|
||||||
use rhai::{Engine, EvalAltResult, FnNamespace, Module, ParseErrorType, Shared, INT};
|
use rhai::{Engine, EvalAltResult, FnNamespace, Module, ParseErrorType, Shared, INT};
|
||||||
|
|
||||||
|
#[cfg(not(feature = "no_object"))]
|
||||||
#[cfg(not(feature = "sync"))]
|
#[cfg(not(feature = "sync"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_functions_trait_object() -> Result<(), Box<EvalAltResult>> {
|
fn test_functions_trait_object() -> Result<(), Box<EvalAltResult>> {
|
||||||
|
Loading…
Reference in New Issue
Block a user