Skip to content

Commit e28e4ae

Browse files
committed
Format source
1 parent 15aaf9f commit e28e4ae

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

build.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ fn bios_main() {
3838
bios_stage_2_path.display()
3939
);
4040

41-
let bios_stage_3_path = build_bios_stage_3(&out_dir);
42-
println!(
43-
"cargo:rustc-env=BIOS_STAGE_3_PATH={}",
44-
bios_stage_3_path.display()
45-
);
41+
let bios_stage_3_path = build_bios_stage_3(&out_dir);
42+
println!(
43+
"cargo:rustc-env=BIOS_STAGE_3_PATH={}",
44+
bios_stage_3_path.display()
45+
);
4646

47-
let bios_stage_4_path = build_bios_stage_4(&out_dir);
48-
println!(
49-
"cargo:rustc-env=BIOS_STAGE_4_PATH={}",
50-
bios_stage_4_path.display()
51-
);
47+
let bios_stage_4_path = build_bios_stage_4(&out_dir);
48+
println!(
49+
"cargo:rustc-env=BIOS_STAGE_4_PATH={}",
50+
bios_stage_4_path.display()
51+
);
5252
}
5353

5454
#[cfg(feature = "uefi")]

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ An experimental x86_64 bootloader that works on both BIOS and UEFI systems.
44

55
#![warn(missing_docs)]
66

7-
#[cfg(feature = "bios")]
8-
mod mbr;
97
#[cfg(feature = "uefi")]
108
mod gpt;
9+
#[cfg(feature = "bios")]
10+
mod mbr;
1111

1212
mod fat;
1313

tests/runner/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
use std::{
2-
io::Write,
3-
path::Path,
4-
process::Command,
5-
};
1+
use std::{io::Write, path::Path, process::Command};
62

73
const QEMU_ARGS: &[&str] = &[
84
"-device",

0 commit comments

Comments
 (0)