Skip to content

Commit

Permalink
Format source
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncouture committed Jan 9, 2023
1 parent 15aaf9f commit e28e4ae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
20 changes: 10 additions & 10 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ fn bios_main() {
bios_stage_2_path.display()
);

let bios_stage_3_path = build_bios_stage_3(&out_dir);
println!(
"cargo:rustc-env=BIOS_STAGE_3_PATH={}",
bios_stage_3_path.display()
);
let bios_stage_3_path = build_bios_stage_3(&out_dir);
println!(
"cargo:rustc-env=BIOS_STAGE_3_PATH={}",
bios_stage_3_path.display()
);

let bios_stage_4_path = build_bios_stage_4(&out_dir);
println!(
"cargo:rustc-env=BIOS_STAGE_4_PATH={}",
bios_stage_4_path.display()
);
let bios_stage_4_path = build_bios_stage_4(&out_dir);
println!(
"cargo:rustc-env=BIOS_STAGE_4_PATH={}",
bios_stage_4_path.display()
);
}

#[cfg(feature = "uefi")]
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ An experimental x86_64 bootloader that works on both BIOS and UEFI systems.

#![warn(missing_docs)]

#[cfg(feature = "bios")]
mod mbr;
#[cfg(feature = "uefi")]
mod gpt;
#[cfg(feature = "bios")]
mod mbr;

mod fat;

Expand Down
6 changes: 1 addition & 5 deletions tests/runner/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
use std::{
io::Write,
path::Path,
process::Command,
};
use std::{io::Write, path::Path, process::Command};

const QEMU_ARGS: &[&str] = &[
"-device",
Expand Down

0 comments on commit e28e4ae

Please sign in to comment.