diff options
| author | joboet <jonasboettiger@icloud.com> | 2024-01-11 20:18:17 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2024-01-11 20:18:17 +0100 |
| commit | 4ab475dfb59f71694b0e50f79a014c695d3d717c (patch) | |
| tree | 0792a17ea446e7cfe9450128d33a526c59d48c43 | |
| parent | 4da4958099f5ae9e9eaca745bd2cb4628eb82c7e (diff) | |
| download | rust-4ab475dfb59f71694b0e50f79a014c695d3d717c.tar.gz rust-4ab475dfb59f71694b0e50f79a014c695d3d717c.zip | |
std: fix module reference on SGX
| -rw-r--r-- | library/std/src/sys/pal/sgx/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/sgx/alloc.rs b/library/std/src/sys/pal/sgx/alloc.rs index 4aea28cb83e..0c7bf9a9201 100644 --- a/library/std/src/sys/pal/sgx/alloc.rs +++ b/library/std/src/sys/pal/sgx/alloc.rs @@ -1,8 +1,8 @@ use crate::alloc::{GlobalAlloc, Layout, System}; use crate::ptr; -use crate::sys::sgx::abi::mem as sgx_mem; use core::sync::atomic::{AtomicBool, Ordering}; +use super::abi::mem as sgx_mem; use super::waitqueue::SpinMutex; // Using a SpinMutex because we never want to exit the enclave waiting for the |
