2025-06-18 15:37:05 -07:00

7 lines
212 B
Rust

use embassy_sync::once_lock::OnceLock;
// *mut u8 is not Sync, so OnceLock should not implement Sync for this type. This should fail to compile.
static GLOBAL: OnceLock<*mut u8> = OnceLock::new();
fn main() {}