about summary refs log tree commit diff
path: root/build_sysroot/alloc_system
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2020-10-27 13:10:31 +0000
committerMark Rousskov <mark.simulacrum@gmail.com>2020-11-22 17:11:41 -0500
commite4cc56d7609e8130677694917c6c9af28cf94a97 (patch)
tree78710dc7a93cf6005c40aaaa5081c41de091280a /build_sysroot/alloc_system
parent56e63805bea4e204b38c22406f94dd25af4a54e1 (diff)
downloadrust-e4cc56d7609e8130677694917c6c9af28cf94a97.tar.gz
rust-e4cc56d7609e8130677694917c6c9af28cf94a97.zip
Drop support for cloudabi targets
Diffstat (limited to 'build_sysroot/alloc_system')
-rw-r--r--build_sysroot/alloc_system/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_sysroot/alloc_system/lib.rs b/build_sysroot/alloc_system/lib.rs
index ca145e4f2a5..c832d5e5ebb 100644
--- a/build_sysroot/alloc_system/lib.rs
+++ b/build_sysroot/alloc_system/lib.rs
@@ -23,7 +23,7 @@
     all(target_arch = "wasm32", not(target_os = "emscripten")),
     feature(integer_atomics, stdsimd)
 )]
-#![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))]
+#![cfg_attr(any(unix, target_os = "redox"), feature(libc))]
 // The minimum alignment guaranteed by the architecture. This value is used to
 // add fast paths for low alignment values.
 #[cfg(all(any(target_arch = "x86",
@@ -69,7 +69,7 @@ const MIN_ALIGN: usize = 16;
 /// independently of the standard library’s global allocator.
 #[stable(feature = "alloc_system_type", since = "1.28.0")]
 pub struct System;
-#[cfg(any(windows, unix, target_os = "cloudabi", target_os = "redox"))]
+#[cfg(any(windows, unix, target_os = "redox"))]
 mod realloc_fallback {
     use core::alloc::{GlobalAlloc, Layout};
     use core::cmp;
@@ -89,7 +89,7 @@ mod realloc_fallback {
         }
     }
 }
-#[cfg(any(unix, target_os = "cloudabi", target_os = "redox"))]
+#[cfg(any(unix, target_os = "redox"))]
 mod platform {
     extern crate libc;
     use core::ptr;