Skip to content

Commit 5602b1b

Browse files
uefi-raw: Fix MSRV build
`size_of` wasn't added to the prelude until 1.80, but the uefi-raw MSRV is currently 1.70.
1 parent b733874 commit 5602b1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

uefi-raw/src/table/system.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::table::configuration::ConfigurationTable;
66
use crate::table::runtime::RuntimeServices;
77
use crate::table::Header;
88
use crate::{Char16, Handle};
9+
use core::mem::size_of;
910
use core::ptr;
1011

1112
#[derive(Clone, Debug, Eq, PartialEq)]

0 commit comments

Comments
 (0)