3 ms·
> What you want is for the normal APIs to return Result<R,E> where E=! when panic on OOM and some OOM error otherwise. That's a fun idea! I haven't seen that p
by JoshTriplett 6y ago
> What you want is for the normal APIs to return Result<R,E> where E=! when panic on OOM and some OOM error otherwise.
That's a fun idea! I haven't seen that proposed before, but it would work well once we have the ability to configure std and alloc.