1 2 3 4 5 6 7 8 9 10 11
//! Upstream memory contract and Platform-backed canister storage. pub use crate::substrate::{Memory, VectorMemory}; /// Native default backing for fixture and host integration. #[cfg(not(target_arch = "wasm32"))] pub type DefaultMemoryImpl = VectorMemory; #[cfg(target_arch = "wasm32")] mod wasm; #[cfg(target_arch = "wasm32")] pub use wasm::DefaultMemoryImpl;