Skip to content

Commit 91b56ee

Browse files
committed
Backport: Reduce number of used unstable features of x86_64 crate
1 parent 7fac0b9 commit 91b56ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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 }
17+
x86_64 = { version = "0.13.2", 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 <dev@phil-opp.com>"]
55
edition = "2018"
66

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

test-kernel/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ authors = ["Philipp Oppermann <dev@phil-opp.com>"]
55
edition = "2018"
66

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

0 commit comments

Comments
 (0)