Skip to content

Commit 1f29d22

Browse files
committed
Re-add dummy functions for building only BIOS or UEFI feature
1 parent ef05e9c commit 1f29d22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.rs

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ use std::path::{Path, PathBuf};
55
const BOOTLOADER_VERSION: &str = env!("CARGO_PKG_VERSION");
66

77
fn main() {
8+
#[cfg(not(feature = "uefi"))]
9+
async fn uefi_main() {}
10+
#[cfg(not(feature = "bios"))]
11+
async fn bios_main() {}
12+
813
block_on((uefi_main(), bios_main()).join());
914
}
1015

0 commit comments

Comments
 (0)