summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorJethro Beekman <jethro@fortanix.com>2018-09-05 16:18:53 -0700
committerJethro Beekman <jethro@fortanix.com>2018-12-07 11:26:50 +0530
commit1e44e2de6c302855c1da75f79227fca743d9b209 (patch)
tree2dfbff97935065d7fac12ad851d394b381049ffa /src/libstd/lib.rs
parent39f9751716986b498bfb2b14b481751a4256957f (diff)
downloadrust-1e44e2de6c302855c1da75f79227fca743d9b209.tar.gz
rust-1e44e2de6c302855c1da75f79227fca743d9b209.zip
SGX target: implement user memory management
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index bf1e64efd37..66771b3c4a2 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -312,7 +312,8 @@
 #![feature(non_exhaustive)]
 #![feature(alloc_layout_extra)]
 #![feature(maybe_uninit)]
-#![cfg_attr(target_env = "sgx", feature(global_asm, range_contains))]
+#![cfg_attr(target_env = "sgx", feature(global_asm, range_contains, slice_index_methods,
+                                        decl_macro, coerce_unsized))]
 
 #![default_lib_allocator]