Skip to content

Bump xmas-elf from 0.8.0 to 0.10.0 #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
48 changes: 35 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ conquer-once = { version = "0.3.2", default-features = false }
spinning_top = "0.2.4"
usize_conversions = "0.2.0"
x86_64 = { version = "0.15.2" }
xmas-elf = "0.8.0"
xmas-elf = "0.10.0"
raw-cpuid = "10.2.0"
rand = { version = "0.8.4", default-features = false }
rand_hc = "0.3.1"

Unchanged files with check annotations Beta

.program_iter()
.filter(|h| matches!(h.get_type(), Ok(Type::Load)));
let max_addr = load_program_headers
.clone()

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Test (ubuntu-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Test (ubuntu-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Check

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Check

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Clippy

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Clippy

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Test (windows-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 773 in common/src/load_kernel.rs

GitHub Actions / Test (windows-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied
.map(|h| h.virtual_addr() + h.mem_size())
.max()
.unwrap_or(0);
let min_addr = load_program_headers
.clone()

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Test (ubuntu-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Test (ubuntu-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Check

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Check

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Clippy

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Clippy

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Test (windows-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied

Check failure on line 778 in common/src/load_kernel.rs

GitHub Actions / Test (windows-latest)

the method `clone` exists for struct `Filter<impl Iterator<Item = ProgramHeader<'_>>, {closure@...}>`, but its trait bounds were not satisfied
.map(|h| h.virtual_addr())
.min()
.unwrap_or(0);
);
}
#[cfg(not(docsrs_dummy_build))]

Check warning on line 65 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 65 in build.rs

GitHub Actions / Test (macos-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());
// 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

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 104 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "uefi")]
fn build_uefi_bootloader() -> PathBuf {
use std::fs::File;
path
}
#[cfg(not(docsrs_dummy_build))]

Check warning on line 123 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 123 in build.rs

GitHub Actions / Test (macos-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());
// 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

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 169 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_boot_sector() -> PathBuf {
use std::fs::File;
path
}
#[cfg(not(docsrs_dummy_build))]

Check warning on line 188 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 188 in build.rs

GitHub Actions / Test (macos-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());
// 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 236 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 236 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 236 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 236 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 236 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 236 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_2() -> PathBuf {
use std::fs::File;
path
}
#[cfg(not(docsrs_dummy_build))]

Check warning on line 255 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 255 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 255 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 255 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 255 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 255 in build.rs

GitHub Actions / Test (macos-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());
// 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 299 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 299 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 299 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 299 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 299 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 299 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`
#[cfg(feature = "bios")]
fn build_bios_stage_3() -> PathBuf {
use std::fs::File;
path
}
#[cfg(not(docsrs_dummy_build))]

Check warning on line 318 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 318 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 318 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 318 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 318 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 318 in build.rs

GitHub Actions / Test (macos-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());
// 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 363 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 363 in build.rs

GitHub Actions / Check

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 363 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 363 in build.rs

GitHub Actions / Clippy

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 363 in build.rs

GitHub Actions / Test (macos-latest)

unexpected `cfg` condition name: `docsrs_dummy_build`

Check warning on line 363 in build.rs

GitHub Actions / Test (macos-latest)

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