Fix no_std build.
This commit is contained in:
parent
b607a3a9ba
commit
b467b18722
@ -45,6 +45,8 @@ where
|
||||
Ok(StepRange::<T>(from, to, step))
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "only_i32"))]
|
||||
#[cfg(not(feature = "only_i64"))]
|
||||
macro_rules! reg_range {
|
||||
($lib:expr, $x:expr, $( $y:ty ),*) => (
|
||||
$(
|
||||
@ -54,6 +56,8 @@ macro_rules! reg_range {
|
||||
)
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "only_i32"))]
|
||||
#[cfg(not(feature = "only_i64"))]
|
||||
macro_rules! reg_step {
|
||||
($lib:expr, $x:expr, $( $y:ty ),*) => (
|
||||
$(
|
||||
|
@ -10,7 +10,11 @@ use crate::token::{is_valid_identifier, Position, Token};
|
||||
use crate::utils::ImmutableString;
|
||||
use crate::StaticVec;
|
||||
|
||||
use crate::stdlib::{boxed::Box, format, string::ToString};
|
||||
use crate::stdlib::{
|
||||
boxed::Box,
|
||||
format,
|
||||
string::{String, ToString},
|
||||
};
|
||||
|
||||
/// A general expression evaluation trait object.
|
||||
#[cfg(not(feature = "sync"))]
|
||||
|
Loading…
Reference in New Issue
Block a user