Fix feature builds.

This commit is contained in:
Stephen Chung 2021-03-15 23:03:26 +08:00
parent a1549bb377
commit 082ecaa739
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ use crate::stdlib::{
any::{type_name, TypeId},
boxed::Box,
format,
string::String,
string::{String, ToString},
vec::Vec,
};
use crate::{

View File

@ -51,6 +51,7 @@ fn test_functions() -> Result<(), Box<EvalAltResult>> {
Ok(())
}
#[cfg(not(feature = "no_module"))]
#[test]
fn test_functions_context() -> Result<(), Box<EvalAltResult>> {
let mut engine = Engine::new();