Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 342
Why is `static mut` discouraged (and references to it denied by a lint in edition 2024)?
A
It can't hold integers
B
It's only allowed in no_std
C
Any access is unsafe and easily creates data races or aliasing &mut, which is undefined behaviour
D
It's slower than atomics