Skip to content

Commit 0ac53da

Browse files
committed
Auto merge of #60684 - jethrogb:jb/sgx-test, r=joshtriplett
Fix cfg(test) build on SGX Introduced in #60657 r? @joshtriplett
2 parents c441b8a + adb998f commit 0ac53da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@
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))]
226227

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

0 commit comments

Comments
 (0)