1 2 3 4 5 6 7 8 9 10 11
use crate::sys; use parking_lot::Mutex; use std::sync::atomic::AtomicUsize; // Remove this attribute once this is used. #[allow(dead_code)] pub struct SharedStaticMemory { memory: sys::Memory, current: AtomicUsize, lock: Mutex<()>, }