`static mut` transform produces warning with unsafe-op-in-unsafe-fn
ia0 opened this issue · 0 comments
ia0 commented
#![warn(unsafe_op_in_unsafe_fn)]
#[entry]
fn main() -> ! {
// The next line generates a warning while it shouldn't.
static mut CLOCKS: MaybeUninit<Clocks> = MaybeUninit::new();
// ...
}I see in #411 (comment) that maybe this static mut transform is going to be deprecated. Is that true?