Fix cfg(test) build on SGX
This commit is contained in:
parent
a784a80228
commit
adb998fe21
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@
|
||||||
#![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"),
|
#![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"),
|
||||||
feature(global_asm, slice_index_methods,
|
feature(global_asm, slice_index_methods,
|
||||||
decl_macro, coerce_unsized, sgx_platform, ptr_wrapping_offset_from))]
|
decl_macro, coerce_unsized, sgx_platform, ptr_wrapping_offset_from))]
|
||||||
|
#![cfg_attr(all(test, target_vendor = "fortanix", target_env = "sgx"), feature(fixed_size_array))]
|
||||||
|
|
||||||
// std is implemented with unstable features, many of which are internal
|
// std is implemented with unstable features, many of which are internal
|
||||||
// compiler details that will never be stable
|
// compiler details that will never be stable
|
||||||
|
|
Loading…
Add table
Reference in a new issue