8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 970b701 commit 0ed7a10Copy full SHA for 0ed7a10
build.rs
@@ -12,7 +12,11 @@ fn main() {
12
#[cfg(feature = "bios")]
13
async fn bios_main() {
14
let out_dir = PathBuf::from(std::env::var("OUT_DIR").unwrap());
15
- // Run the bios parts concurrently. (Build time / 4 :D )
+ // Run the bios build commands concurrently.
16
+ // (Cargo already uses multiple threads for building dependencies, but these
17
+ // BIOS crates don't have enough dependencies to utilize all cores on modern
18
+ // CPUs. So by running the build commands in parallel, we increase the number
19
+ // of utilized cores.)
20
let (bios_boot_sector_path, bios_stage_2_path, bios_stage_3_path, bios_stage_4_path) = (
21
build_bios_boot_sector(&out_dir),
22
build_bios_stage_2(&out_dir),
0 commit comments