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(target_family = "wasm"))]
use crate::eval::GlobalRuntimeState;
use crate::func::native::locked_write;
use crate::{
Engine, GlobalRuntimeState, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope,
Shared, ERR,
Engine, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope, Shared, ERR,
};
use std::{

View File

@ -1,5 +1,6 @@
use crate::eval::GlobalRuntimeState;
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")]
use std::prelude::v1::*;