Fix builds.

This commit is contained in:
Stephen Chung
2022-12-30 22:21:22 +08:00
parent ee8e745429
commit a478d57e01
3 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
//! Module containing all deprecated API that will be removed in the next major version.
use crate::func::RegisterNativeFunction;
use crate::plugin::*;
use crate::types::dynamic::Variant;
use crate::{
Dynamic, Engine, EvalAltResult, FnPtr, Identifier, ImmutableString, Module, NativeCallContext,
@@ -633,6 +632,9 @@ impl Module {
}
}
#[cfg(not(feature = "no_index"))]
use crate::plugin::*;
#[cfg(not(feature = "no_index"))]
#[export_module]
pub mod deprecated_array_functions {