std: fix module references on UEFI

This commit is contained in:
joboet 2024-01-11 20:21:05 +01:00
parent 4ab475dfb5
commit cac470cde1
No known key found for this signature in database
GPG Key ID: 704E0149B0194B3C
2 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@
use r_efi::protocols::loaded_image;
use super::helpers;
use crate::alloc::{GlobalAlloc, Layout, System};
use crate::sync::OnceLock;
use crate::sys::uefi::helpers;
#[stable(feature = "alloc_system_type", since = "1.28.0")]
unsafe impl GlobalAlloc for System {

View File

@ -1,11 +1,11 @@
use r_efi::protocols::loaded_image;
use super::helpers;
use crate::env::current_exe;
use crate::ffi::OsString;
use crate::fmt;
use crate::iter::Iterator;
use crate::mem::size_of;
use crate::sys::uefi::helpers;
use crate::vec;
pub struct Args {