Hacker News new | ask | show | jobs
by losvedir 3742 days ago
That's not a property of rust the language, but the standard library. I believe you could use other allocators that behave differently. In any case, the standard library panics on OOM, and panics are described at the bottom of the linked page.
1 comments

calls abort(), not panic!(). This is important since unwinding does not happen with the former.