no_std fixes

This commit is contained in:
Dominik Maier 2020-12-09 13:52:54 +01:00
parent 24e01d89b5
commit fd45ef7c27
4 changed files with 5 additions and 0 deletions

View File

@ -226,6 +226,7 @@ where
} => { } => {
// here u should match sender_id, if equal to the current one do not re-execute // here u should match sender_id, if equal to the current one do not re-execute
// we need to pass engine to process() too, TODO // we need to pass engine to process() too, TODO
#[cfg(feature = "std")]
println!("PLACEHOLDER: received NewTestcase"); println!("PLACEHOLDER: received NewTestcase");
Ok(()) Ok(())
} }

View File

@ -1,5 +1,7 @@
pub mod inmemory; pub mod inmemory;
use alloc::boxed::Box;
use crate::inputs::Input; use crate::inputs::Input;
use crate::observers::observer_serde::NamedSerdeAnyMap; use crate::observers::observer_serde::NamedSerdeAnyMap;
use crate::observers::Observer; use crate::observers::Observer;

View File

@ -1,5 +1,6 @@
extern crate num; extern crate num;
use alloc::boxed::Box;
use core::any::Any; use core::any::Any;
use core::slice::from_raw_parts_mut; use core::slice::from_raw_parts_mut;
use num::Integer; use num::Integer;

View File

@ -1,6 +1,7 @@
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use alloc::boxed::Box; use alloc::boxed::Box;
use alloc::vec::Vec;
use core::any::{Any, TypeId}; use core::any::{Any, TypeId};
pub fn pack_type_id(id: u64) -> TypeId { pub fn pack_type_id(id: u64) -> TypeId {