Fix builds.

This commit is contained in:
Stephen Chung 2022-01-28 22:11:22 +08:00
parent c397a6dcb5
commit cd4335a16f
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,10 @@
#![cfg(not(feature = "no_std"))] #![cfg(not(feature = "no_std"))]
#![cfg(not(target_family = "wasm"))] #![cfg(not(target_family = "wasm"))]
use crate::eval::GlobalRuntimeState;
use crate::func::native::locked_write; use crate::func::native::locked_write;
use crate::{ use crate::{
Engine, GlobalRuntimeState, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope, Engine, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope, Shared, ERR,
Shared, ERR,
}; };
use std::{ use std::{

View File

@ -1,5 +1,6 @@
use crate::eval::GlobalRuntimeState;
use crate::func::native::SendSync; use crate::func::native::SendSync;
use crate::{Engine, GlobalRuntimeState, Module, Position, RhaiResultOf, Shared, AST}; use crate::{Engine, Module, Position, RhaiResultOf, Shared, AST};
#[cfg(feature = "no_std")] #[cfg(feature = "no_std")]
use std::prelude::v1::*; use std::prelude::v1::*;