std: fix module reference on SGX

This commit is contained in:
joboet
2024-01-11 20:18:17 +01:00
parent 4da4958099
commit 4ab475dfb5

View File

@@ -1,8 +1,8 @@
use crate::alloc::{GlobalAlloc, Layout, System}; use crate::alloc::{GlobalAlloc, Layout, System};
use crate::ptr; use crate::ptr;
use crate::sys::sgx::abi::mem as sgx_mem;
use core::sync::atomic::{AtomicBool, Ordering}; use core::sync::atomic::{AtomicBool, Ordering};
use super::abi::mem as sgx_mem;
use super::waitqueue::SpinMutex; use super::waitqueue::SpinMutex;
// Using a SpinMutex because we never want to exit the enclave waiting for the // Using a SpinMutex because we never want to exit the enclave waiting for the