From a3d5e34903fbd966d96017d52bb14e92fca874d0 Mon Sep 17 00:00:00 2001 From: Jethro Beekman Date: Mon, 3 Jun 2019 13:06:35 -0700 Subject: [PATCH] Fix cfg(test) build for x86_64-fortanix-unknown-sgx --- src/libstd/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index e044b46e0d076..a3356e6be2c3f 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -223,7 +223,8 @@ #![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))] +#![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