Skip to content

Commit

Permalink
Merge pull request #208 from rust-osdev/v0.9-hotfix
Browse files Browse the repository at this point in the history
[v0.9] Update x86_64 dependency to v0.14.7 to fix nightly breakage
  • Loading branch information
phil-opp authored Dec 20, 2021
2 parents 794c5b8 + 857e48e commit 4adee42
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
21 changes: 11 additions & 10 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ required-features = ["binary"]

[dependencies]
xmas-elf = { version = "0.6.2", optional = true }
x86_64 = { version = "0.13.2", optional = true, default-features = false, features = ["instructions", "inline_asm"] }
x86_64 = { version = "0.14.7", optional = true, default-features = false, features = ["instructions", "inline_asm"] }
usize_conversions = { version = "0.2.0", optional = true }
fixedvec = { version = "0.2.4", optional = true }
bit_field = { version = "0.10.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion example-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["Philipp Oppermann <[email protected]>"]
edition = "2018"

[dependencies]
x86_64 = { version = "0.13.2", default-features = false, features = ["instructions", "inline_asm"] }
x86_64 = { version = "0.14.7", default-features = false, features = ["instructions", "inline_asm"] }
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ compile_error!("The bootloader crate must be compiled for the `x86_64-bootloader
extern crate rlibc;

use bootloader::bootinfo::{BootInfo, FrameRange};
use core::convert::TryInto;
use core::panic::PanicInfo;
use core::{arch::global_asm, convert::TryInto, panic::PanicInfo};
use core::{mem, slice};
use fixedvec::alloc_stack;
use usize_conversions::usize_from;
Expand Down
2 changes: 1 addition & 1 deletion test-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["Philipp Oppermann <[email protected]>"]
edition = "2018"

[dependencies]
x86_64 = { version = "0.13.2", default-features = false, features = ["instructions", "inline_asm"] }
x86_64 = { version = "0.14.7", default-features = false, features = ["instructions", "inline_asm"] }

0 comments on commit 4adee42

Please sign in to comment.