std: fix module reference on SGX

This commit is contained in:
joboet 2024-01-11 20:18:17 +01:00
parent 4da4958099
commit 4ab475dfb5
No known key found for this signature in database
GPG Key ID: 704E0149B0194B3C

View File

@ -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