Skip to content

Commit 24717a5

Browse files
committed
fix: correctly gate configurator module import in doctest
It only exists on x86, so fix the aarch64 doctests Signed-off-by: Patrick Roy <patrick.roy@linux.dev>
1 parent b1ecdb6 commit 24717a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
//! # extern crate linux_loader;
3434
//! # extern crate vm_memory;
3535
//! # use std::{io::{Cursor, Read}, fs::File};
36+
//! # #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
3637
//! # use linux_loader::configurator::{BootConfigurator, BootParams};
3738
//! # #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
3839
//! # use linux_loader::configurator::pvh::PvhBootConfigurator;

0 commit comments

Comments
 (0)