by volta87 · 5y ago · 0 comments
So there is a significant difference in semantics between Rust and C/C++ here.
The standard may allow the generation of insane code, but a decent-quality compiler does not do so. The standard ought to be fixed.
If your loop infinitely writes the number 70 to an atomic int, it's fine.