Rename logger to logging and fix formatting

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2025-07-22 20:21:51 +02:00
parent cd817d2013
commit 4605190a4e
7 changed files with 33 additions and 37 deletions

View File

@@ -9,11 +9,15 @@ fn main() {
// create an UEFI disk image (optional)
let uefi_path = out_dir.join("uefi.img");
bootloader::UefiBoot::new(&kernel).create_disk_image(&uefi_path).unwrap();
bootloader::UefiBoot::new(&kernel)
.create_disk_image(&uefi_path)
.unwrap();
// create a BIOS disk image
let bios_path = out_dir.join("bios.img");
bootloader::BiosBoot::new(&kernel).create_disk_image(&bios_path).unwrap();
bootloader::BiosBoot::new(&kernel)
.create_disk_image(&bios_path)
.unwrap();
// pass the disk image paths as env variables to the `main.rs`
println!("cargo:rustc-env=UEFI_PATH={}", uefi_path.display());