3 ms·
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 standar
by losvedir 11y 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.
- kzrdude 11y agocalls abort(), not panic!(). This is important since unwinding does not happen with the former.