Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
);
}

#[cfg(not(docsrs_dummy_build))]

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "uefi")]
fn build_uefi_bootloader() -> PathBuf {
let out_dir = PathBuf::from(std::env::var("OUT_DIR").unwrap());
Expand Down Expand Up @@ -101,7 +101,7 @@

// dummy implementation because docsrs builds have no network access.
// This will put an empty file in out_dir and return its path.
#[cfg(docsrs_dummy_build)]

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "uefi")]
fn build_uefi_bootloader() -> PathBuf {
use std::fs::File;
Expand All @@ -120,7 +120,7 @@
path
}

#[cfg(not(docsrs_dummy_build))]

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_boot_sector() -> PathBuf {
let out_dir = PathBuf::from(std::env::var("OUT_DIR").unwrap());
Expand Down Expand Up @@ -166,7 +166,7 @@

// dummy implementation because docsrs builds have no network access.
// This will put an empty file in out_dir and return its path.
#[cfg(docsrs_dummy_build)]

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_boot_sector() -> PathBuf {
use std::fs::File;
Expand All @@ -185,7 +185,7 @@
path
}

#[cfg(not(docsrs_dummy_build))]

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_2() -> PathBuf {
let out_dir = PathBuf::from(std::env::var("OUT_DIR").unwrap());
Expand Down Expand Up @@ -215,6 +215,10 @@
cmd.env_remove("RUSTFLAGS");
cmd.env_remove("CARGO_ENCODED_RUSTFLAGS");
cmd.env_remove("RUSTC_WORKSPACE_WRAPPER"); // used by clippy
cmd.env(
"RUSTFLAGS",
"-Csymbol-mangling-version=legacy -Zunstable-options",
);
let status = cmd
.status()
.expect("failed to run cargo install for bios second stage");
Expand All @@ -233,7 +237,7 @@

// dummy implementation because docsrs builds have no network access.
// This will put an empty file in out_dir and return its path.
#[cfg(docsrs_dummy_build)]

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 240 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_2() -> PathBuf {
use std::fs::File;
Expand All @@ -252,7 +256,7 @@
path
}

#[cfg(not(docsrs_dummy_build))]

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 259 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_3() -> PathBuf {
let out_dir = PathBuf::from(std::env::var("OUT_DIR").unwrap());
Expand Down Expand Up @@ -296,7 +300,7 @@

// dummy implementation because docsrs builds have no network access.
// This will put an empty file in out_dir and return its path.
#[cfg(docsrs_dummy_build)]

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 303 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_3() -> PathBuf {
use std::fs::File;
Expand All @@ -315,7 +319,7 @@
path
}

#[cfg(not(docsrs_dummy_build))]

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 322 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_4() -> PathBuf {
let out_dir = PathBuf::from(std::env::var("OUT_DIR").unwrap());
Expand Down Expand Up @@ -360,7 +364,7 @@

// dummy implementation because docsrs builds have no network access.
// This will put an empty file in out_dir and return its path.
#[cfg(docsrs_dummy_build)]

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 367 in build.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_4() -> PathBuf {
use std::fs::File;
Expand Down
Loading