Skip to content

Commit 4132029

Browse files
author
Dan Cross
committed
trivial: Silence a warning
Something that was created was not referenced, which caused a lint, which fails CI. This trivial change just references the thing that was created but previously unreferenced. Signed-off-by: Dan Cross <cross@gajendra.net>
1 parent aee9a91 commit 4132029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

theon/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const BINARY_LOAD_REGION_END: HPA = load_addr(BINARY_TABLE.len());
140140
#[cfg_attr(not(test), no_mangle)]
141141
pub extern "C" fn main(mbinfo_phys: u64) -> ! {
142142
arch::lapic::enable_x2apic();
143-
let multiboot = x86_64::pc::init::start(mbinfo_phys);
143+
let multiboot = x86_64::platform::init::start(mbinfo_phys);
144144
let crate::x86_64::pc::multiboot1::InitInfo { memory_regions, regions, modules } =
145145
multiboot.info();
146146
assert!(theon_fits(&regions));

0 commit comments

Comments
 (0)