Fix no_optimize build.

This commit is contained in:
Stephen Chung
2020-11-16 23:32:44 +08:00
parent 7ef3bd6b20
commit 999a87f86e
4 changed files with 10 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ use crate::engine::{
};
use crate::fn_native::FnCallArgs;
use crate::module::NamespaceRef;
use crate::optimize::OptimizationLevel;
use crate::scope::EntryType as ScopeEntryType;
use crate::stdlib::{
any::{type_name, TypeId},
@@ -22,7 +23,7 @@ use crate::stdlib::{
};
use crate::{
calc_native_fn_hash, calc_script_fn_hash, Dynamic, Engine, EvalAltResult, FnPtr,
ImmutableString, Module, OptimizationLevel, ParseErrorType, Scope, StaticVec, INT, NO_POS,
ImmutableString, Module, ParseErrorType, Scope, StaticVec, INT, NO_POS,
};
#[cfg(not(feature = "no_float"))]