]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/lib.rs
Fix cfg(test) build for x86_64-fortanix-unknown-sgx
[rust.git] / src / libstd / lib.rs
index 3976f2344e2412b8ce20308dcac22f3dc34af98e..a3356e6be2c3f2e57f8e9af53724fa56da771c83 100644 (file)
 #![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"),
             feature(global_asm, slice_index_methods,
                     decl_macro, coerce_unsized, sgx_platform, ptr_wrapping_offset_from))]
+#![cfg_attr(all(test, target_vendor = "fortanix", target_env = "sgx"),
+            feature(fixed_size_array, maybe_uninit_extra))]
 
 // std is implemented with unstable features, many of which are internal
 // compiler details that will never be stable
 #![feature(libc)]
 #![feature(link_args)]
 #![feature(linkage)]
-#![feature(maybe_uninit)]
 #![feature(needs_panic_runtime)]
 #![feature(never_type)]
 #![feature(nll)]