about summary refs log tree commit diff
path: root/src/libstd/os
diff options
context:
space:
mode:
authorJethro Beekman <jethro@fortanix.com>2019-02-05 16:19:20 +0530
committerJethro Beekman <jethro@fortanix.com>2019-02-05 16:19:20 +0530
commitd89ebdd475ceaa35173e7d39dfdf23f8b7318745 (patch)
treef1a7ae5a2c6bc12a48c71ced47aeb9700d1052ee /src/libstd/os
parent4c8c0fc1e2145b520ef31d1bf5e4d3fa1050c579 (diff)
downloadrust-d89ebdd475ceaa35173e7d39dfdf23f8b7318745.tar.gz
rust-d89ebdd475ceaa35173e7d39dfdf23f8b7318745.zip
Expose correct items in `os::fortanix_sgx::usercalls::alloc`
Diffstat (limited to 'src/libstd/os')
-rw-r--r--src/libstd/os/fortanix_sgx/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/os/fortanix_sgx/mod.rs b/src/libstd/os/fortanix_sgx/mod.rs
index 810965fc1b8..f536c5d04e6 100644
--- a/src/libstd/os/fortanix_sgx/mod.rs
+++ b/src/libstd/os/fortanix_sgx/mod.rs
@@ -16,7 +16,7 @@ pub mod usercalls {
     /// Primitives for allocating memory in userspace as well as copying data
     /// to and from user memory.
     pub mod alloc {
-        pub use sys::abi::usercalls::alloc;
+        pub use sys::abi::usercalls::alloc::*;
     }
 
     /// Lowest-level interfaces to usercalls and usercall ABI type definitions.