Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 5 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /