diff --git a/Cargo.toml b/Cargo.toml index 83a2d021..9d989830 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ internals = [] # expose internal data structures unicode-xid-ident = ["unicode-xid"] # allow Unicode Standard Annex #31 for identifiers. # compiling for no-std -no_std = [ "no_closure", "num-traits/libm", "hashbrown", "core-error", "libm", "ahash" ] +no_std = [ "smallvec/union", "num-traits/libm", "hashbrown", "core-error", "libm", "ahash" ] [profile.release] lto = "fat" diff --git a/tests/functions.rs b/tests/functions.rs index 296f0ddd..34143ab6 100644 --- a/tests/functions.rs +++ b/tests/functions.rs @@ -1,6 +1,5 @@ #![cfg(not(feature = "no_function"))] use rhai::{Engine, EvalAltResult, ParseErrorType, INT}; -use std::io::Read; #[test] fn test_functions() -> Result<(), Box> {