Skip to content

Commit a9e69b3

Browse files
committed
fixup! Add ShellParams protocol
1 parent eed9274 commit a9e69b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

uefi/src/proto/shell_params.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
//! `ShellParams` protocol
22
33
use crate::proto::unsafe_protocol;
4-
use crate::{CStr16, Char16};
4+
use crate::Char16;
55
use core::ffi::c_void;
66

7+
#[cfg(feature = "alloc")]
8+
use crate::CStr16;
79
#[cfg(feature = "alloc")]
810
use alloc::string::String;
11+
#[cfg(feature = "alloc")]
912
use alloc::string::ToString;
13+
#[cfg(feature = "alloc")]
1014
use alloc::vec;
15+
#[cfg(feature = "alloc")]
1116
use alloc::vec::Vec;
1217

1318
type ShellFileHandle = *const c_void;

0 commit comments

Comments
 (0)