aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/long_mode.rs
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2021-08-17 23:10:52 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2021-08-17 23:10:52 +0200
commitfb6b634de37e38fd1821f2cf9228df176f9526f5 (patch)
tree98fce2cdd9c124d72f078e40ba50e47bbef2d4ea /examples/long_mode.rs
parentbd9bce8531b5d694930a47bad17cbcd2f0a3d4de (diff)
downloadmini-kvm-rs-fb6b634de37e38fd1821f2cf9228df176f9526f5.tar.gz
mini-kvm-rs-fb6b634de37e38fd1821f2cf9228df176f9526f5.zip
cargo fmt + added fmt::skip attributes
Diffstat (limited to 'examples/long_mode.rs')
-rw-r--r--examples/long_mode.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/long_mode.rs b/examples/long_mode.rs
index 668364f..0696ae4 100644
--- a/examples/long_mode.rs
+++ b/examples/long_mode.rs
@@ -57,6 +57,7 @@ fn setup_long_mode_segments(sregs: &mut kvm_sys::kvm_sregs) {
data_seg(&mut sregs.es);
}
+#[rustfmt::skip]
fn setup_long_mode_4level_paging(mem: &mut UserMem) -> PhysAddr {
assert_eq!(0x8000, mem.as_ref().len());