Fix builds.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#![cfg(not(feature = "no_function"))]
|
||||
use rhai::{Engine, EvalAltResult, FnNamespace, Module, ParseErrorType, Shared, INT};
|
||||
|
||||
#[cfg(not(feature = "sync"))]
|
||||
#[test]
|
||||
fn test_functions_trait_object() -> Result<(), Box<EvalAltResult>> {
|
||||
trait TestTrait {
|
||||
|
@@ -222,6 +222,7 @@ fn test_string_substring() -> Result<(), Box<EvalAltResult>> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "no_object"))]
|
||||
#[test]
|
||||
fn test_string_format() -> Result<(), Box<EvalAltResult>> {
|
||||
#[derive(Debug, Clone)]
|
||||
|
Reference in New Issue
Block a user