Commit 30b79524 authored by Tom Almeida's avatar Tom Almeida
Browse files

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

This reverts commit 7d7e3137
parent 7d7e3137
Pipeline #421 canceled with stage
in 7 minutes and 10 seconds
......@@ -30,8 +30,6 @@ tls! {
/// The rule of thumb is that this should be called, if and only if unwinding (which allocates)
/// will hit the same error.
#[linkage = "weak"]
#[lang = "oom"]
pub fn oom() -> ! {
// If TLS is enabled, we will use the thread-local OOM.
#[cfg(feature = "tls")]
......@@ -15,7 +15,7 @@
allocator_api, const_fn, core_intrinsics, stmt_expr_attributes, optin_builtin_traits,
type_ascription, thread_local, linkage, try_from, const_unsafe_cell_new, const_atomic_bool_new,
const_nonzero_new, const_atomic_ptr_new, lang_items
const_nonzero_new, const_atomic_ptr_new
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment