We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838fb4a commit c661e38Copy full SHA for c661e38
src/liballoc_system/lib.rs
@@ -21,7 +21,7 @@
21
#![feature(core_intrinsics)]
22
#![feature(staged_api)]
23
#![feature(rustc_attrs)]
24
-#![cfg_attr(any(unix, target_os = "redox"), feature(libc))]
+#![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))]
25
#![rustc_alloc_kind = "lib"]
26
27
// The minimum alignment guaranteed by the architecture. This value is used to
@@ -116,7 +116,7 @@ unsafe impl Alloc for System {
116
}
117
118
119
-#[cfg(any(unix, target_os = "redox"))]
+#[cfg(any(unix, target_os = "cloudabi", target_os = "redox"))]
120
mod platform {
121
extern crate libc;
122
0 commit comments