FWIW, with ::alloc, this can be achieved without unsafe thanks to Box::leak(Box::new(()))
9 Likes
FWIW, with ::alloc, this can be achieved without unsafe thanks to Box::leak(Box::new(()))