Open
Description
The code in this part about Singleton no longer works as of Rust 2024
https://docs.rust-embedded.org/book/peripherals/singletons.html
static mut PERIPHERALS: Peripherals = Peripherals {
serial: Some(SerialPort),
};
giving error instead of warning "mutable reference to mutable static"
Metadata
Metadata
Assignees
Labels
No labels