Skip to content

Commit 713ebb4

Browse files
authored
Rollup merge of rust-lang#61503 - jethrogb:jb/fix-sgx-test, r=alexcrichton
Fix cfg(test) build for x86_64-fortanix-unknown-sgx
2 parents 2a1d6c8 + a3d5e34 commit 713ebb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/lib.rs

Lines changed: 2 additions & 1 deletion
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)