We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from_header_and_iter calls alloc::handle_alloc_error, which unfortunately is an unconditional process-killing abort.
from_header_and_iter
alloc::handle_alloc_error
I have a situation where real OOM really happens, and I really need to handle it gracefully.
Could you replace the call to handle_alloc_error with a regular panic!("oom"), at least as an option? A try_ version of the method would be fine too.
handle_alloc_error
panic!("oom")
try_
The text was updated successfully, but these errors were encountered:
I would be open for a PR adding a try version that returns the layout as an error type
Sorry, something went wrong.
No branches or pull requests
from_header_and_iter
callsalloc::handle_alloc_error
, which unfortunately is an unconditional process-killing abort.I have a situation where real OOM really happens, and I really need to handle it gracefully.
Could you replace the call to
handle_alloc_error
with a regularpanic!("oom")
, at least as an option? Atry_
version of the method would be fine too.The text was updated successfully, but these errors were encountered: