Skip to content

Commit de4ce8c

Browse files
committed
Sync from rust c922857
2 parents aef656a + b5f6c00 commit de4ce8c

File tree

1 file changed

+3
-3
lines changed
  • build_sysroot/alloc_system

1 file changed

+3
-3
lines changed

build_sysroot/alloc_system/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
all(target_arch = "wasm32", not(target_os = "emscripten")),
2424
feature(integer_atomics, stdsimd)
2525
)]
26-
#![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))]
26+
#![cfg_attr(any(unix, target_os = "redox"), feature(libc))]
2727
// The minimum alignment guaranteed by the architecture. This value is used to
2828
// add fast paths for low alignment values.
2929
#[cfg(all(any(target_arch = "x86",
@@ -69,7 +69,7 @@ const MIN_ALIGN: usize = 16;
6969
/// independently of the standard library’s global allocator.
7070
#[stable(feature = "alloc_system_type", since = "1.28.0")]
7171
pub struct System;
72-
#[cfg(any(windows, unix, target_os = "cloudabi", target_os = "redox"))]
72+
#[cfg(any(windows, unix, target_os = "redox"))]
7373
mod realloc_fallback {
7474
use core::alloc::{GlobalAlloc, Layout};
7575
use core::cmp;
@@ -89,7 +89,7 @@ mod realloc_fallback {
8989
}
9090
}
9191
}
92-
#[cfg(any(unix, target_os = "cloudabi", target_os = "redox"))]
92+
#[cfg(any(unix, target_os = "redox"))]
9393
mod platform {
9494
extern crate libc;
9595
use core::ptr;

0 commit comments

Comments
 (0)