Added no_std support

This commit is contained in:
Trangar
2020-03-17 19:26:11 +01:00
parent bffa3ed636
commit c8a9df0a0a
16 changed files with 140 additions and 24 deletions

View File

@@ -17,9 +17,12 @@ use num_traits::{
CheckedShr, CheckedSub,
};
use std::{
use crate::stdlib::{
boxed::Box,
fmt::{Debug, Display},
format,
ops::{Add, BitAnd, BitOr, BitXor, Div, Mul, Neg, Range, Rem, Shl, Shr, Sub},
string::{String, ToString},
{i32, i64, u32},
};