Skip to content

Commit

Permalink
move __rg_oom to the libos to avoid duplicated symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Oct 13, 2020
1 parent 1741e5b commit bc6b2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ pub fn handle_alloc_error(layout: Layout) -> ! {
unsafe { oom_impl(layout) }
}

#[cfg(not(any(test, bootstrap)))]
#[cfg(not(any(target_os="hermit", test, bootstrap)))]
#[doc(hidden)]
#[allow(unused_attributes)]
#[unstable(feature = "alloc_internals", issue = "none")]
Expand Down

0 comments on commit bc6b2ac

Please sign in to comment.