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" ) ]
7171pub struct System ;
72- #[ cfg( any( windows, unix, target_os = "cloudabi" , target_os = " redox") ) ]
72+ #[ cfg( any( windows, unix, target_os = "redox" ) ) ]
7373mod 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" ) ) ]
9393mod platform {
9494 extern crate libc;
9595 use core:: ptr;
0 commit comments