1 2 3 4 5 6 7
// Required features: bootmode use libscu::hardware::bootmode; fn main() { println!("System booted via: {:?}", bootmode::fetch_mode()); }