Skip to content

Commit 4adee42

Browse files
authored
Merge pull request #208 from rust-osdev/v0.9-hotfix
[v0.9] Update x86_64 dependency to v0.14.7 to fix nightly breakage
2 parents 794c5b8 + 857e48e commit 4adee42

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

Cargo.lock

+11-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ required-features = ["binary"]
1414

1515
[dependencies]
1616
xmas-elf = { version = "0.6.2", optional = true }
17-
x86_64 = { version = "0.13.2", optional = true, default-features = false, features = ["instructions", "inline_asm"] }
17+
x86_64 = { version = "0.14.7", optional = true, default-features = false, features = ["instructions", "inline_asm"] }
1818
usize_conversions = { version = "0.2.0", optional = true }
1919
fixedvec = { version = "0.2.4", optional = true }
2020
bit_field = { version = "0.10.0", optional = true }

example-kernel/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ authors = ["Philipp Oppermann <[email protected]>"]
55
edition = "2018"
66

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

src/main.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ compile_error!("The bootloader crate must be compiled for the `x86_64-bootloader
1010
extern crate rlibc;
1111

1212
use bootloader::bootinfo::{BootInfo, FrameRange};
13-
use core::convert::TryInto;
14-
use core::panic::PanicInfo;
13+
use core::{arch::global_asm, convert::TryInto, panic::PanicInfo};
1514
use core::{mem, slice};
1615
use fixedvec::alloc_stack;
1716
use usize_conversions::usize_from;

test-kernel/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ authors = ["Philipp Oppermann <[email protected]>"]
55
edition = "2018"
66

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

0 commit comments

Comments
 (0)