8 ms·
I'd need to recheck my vocab, but I'm pretty sure aborting is always safe.
by gnuvince 11y ago
I'd need to recheck my vocab, but I'm pretty sure aborting is always safe.
- ajb 11y agoNot if you want to write an OS.
- rcxdude 11y agoThen you won't use the stdlib anyway.
- steveklabnik 11y agoRust's usage of 'unsafe' refers to a very specific thing: memory safety. Aborts are always safe, though they may not be what you want, of course.