mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
move __rg_oom to the libos to avoid duplicated symbols
This commit is contained in:
parent
1741e5b8f5
commit
bc6b2ac449
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user