Rename logger to logging and fix formatting
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
8
build.rs
8
build.rs
@@ -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());
|
||||
|
Reference in New Issue
Block a user