Rollup merge of #61503 - jethrogb:jb/fix-sgx-test, r=alexcrichton

Fix cfg(test) build for x86_64-fortanix-unknown-sgx
This commit is contained in:
Mazdak Farrokhzad 2019-06-05 17:43:28 +02:00 committed by GitHub
commit 713ebb462c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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