1 2 3 4 5 6
use system_memory::{available, total}; fn main() { println!("Currently available: {} bytes\nTotal: {} bytes", available(), total()); }