|
|
|
|
|
by caconym_
3344 days ago
|
|
Rust doesn't guarantee no crashes. It guarantees protection against certain errors e.g. use-after-free and out-of-bounds indexing, some of which can't be done statically at compile time, so if Rust didn't crash e.g. when you index an array out-of-bounds, it wouldn't be doing its job. It'll also let you do whatever you like if you write `unsafe` code. |
|
https://doc.rust-lang.org/book/unsafe.html