From 4ab475dfb59f71694b0e50f79a014c695d3d717c Mon Sep 17 00:00:00 2001 From: joboet Date: Thu, 11 Jan 2024 20:18:17 +0100 Subject: [PATCH] std: fix module reference on SGX --- library/std/src/sys/pal/sgx/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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