Skip to content

Revert "Added 'oom' lang-item so downstream crates don't complain about missing 'oom' symbol"

Tom Almeida requested to merge revert-7d7e3137 into master

This reverts commit 7d7e3137.

When being used with std, using the oom lang item would cause a compile error. It may be better to leave this to the downstream crates.

A good idea may be to remove all references to this function within this crate and instead call alloc::alloc::handle_alloc_error() or just return an error.

Merge request reports