3 ms·
I'm not convinced that it's a great use of Rust's `unsafe`, but since you want an example... dealing with voltage regulators maybe? Where an invalid value put i
by seba_dos1 5y ago
I'm not convinced that it's a great use of Rust's `unsafe`, but since you want an example... dealing with voltage regulators maybe? Where an invalid value put into some register could fry your hardware? There's a ton of such cases in embedded.
- oconnor663 5y agoYou could probably make the case that any function that might physically destroy your memory is memory unsafe :)