Skip to content

Commit a3d5e34

Browse files
author
Jethro Beekman
committed
Fix cfg(test) build for x86_64-fortanix-unknown-sgx
1 parent 61d286e commit a3d5e34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@
223223
#![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"),
224224
feature(global_asm, slice_index_methods,
225225
decl_macro, coerce_unsized, sgx_platform, ptr_wrapping_offset_from))]
226-
#![cfg_attr(all(test, target_vendor = "fortanix", target_env = "sgx"), feature(fixed_size_array))]
226+
#![cfg_attr(all(test, target_vendor = "fortanix", target_env = "sgx"),
227+
feature(fixed_size_array, maybe_uninit_extra))]
227228

228229
// std is implemented with unstable features, many of which are internal
229230
// compiler details that will never be stable

0 commit comments

Comments
 (0)