My good god. Do you actually believe that this scenario reflects a weakness in C or a C compiler?
Integral overflow and volatile memory are the 2 most problematic kinds of UB in C, because they can appear basically everywhere. Rust has features to deal with them.
Who cares about what Rust does to be perfectly honest?