diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-25 08:42:46 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-25 08:42:46 -0400 |
| commit | f359a94849f5a66be4e5058ad9f5a480623a4627 (patch) | |
| tree | 3e3be6aa8afb17d764d0559d098513ec1d2af125 /src/liballoc/alloc.rs | |
| parent | 1a4e4d937e9a5ffb907063fc0837799a87cd1508 (diff) | |
| download | rust-f359a94849f5a66be4e5058ad9f5a480623a4627.tar.gz rust-f359a94849f5a66be4e5058ad9f5a480623a4627.zip | |
Snap cfgs to new beta
Diffstat (limited to 'src/liballoc/alloc.rs')
| -rw-r--r-- | src/liballoc/alloc.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/liballoc/alloc.rs b/src/liballoc/alloc.rs index a39fcd5ad4c..9bc76f51570 100644 --- a/src/liballoc/alloc.rs +++ b/src/liballoc/alloc.rs @@ -240,7 +240,6 @@ pub(crate) unsafe fn box_free<T: ?Sized>(ptr: Unique<T>) { #[stable(feature = "global_alloc", since = "1.28.0")] #[rustc_allocator_nounwind] pub fn handle_alloc_error(layout: Layout) -> ! { - #[cfg_attr(bootstrap, allow(improper_ctypes))] extern "Rust" { #[lang = "oom"] fn oom_impl(layout: Layout) -> !; |
