Skip to content

Commit b068db2

Browse files
committed
Reduce the number of used unstable features of x86_64 crate
To reduce nightly breakage.
1 parent 83a0b19 commit b068db2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ required-features = ["uefi_bin"]
2929

3030
[dependencies]
3131
xmas-elf = { version = "0.6.2", optional = true }
32-
x86_64 = { version = "0.13.2", optional = true }
32+
x86_64 = { version = "0.13.2", optional = true, default-features = false, features = ["instructions", "inline_asm"] }
3333
usize_conversions = { version = "0.2.0", optional = true }
3434
bit_field = { version = "0.10.0", optional = true }
3535
log = { version = "0.4.8", optional = true }

Diff for: tests/test_kernels/default_settings/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ edition = "2018"
66

77
[dependencies]
88
bootloader = { path = "../../.." }
9-
x86_64 = "0.13.2"
9+
x86_64 = { version = "0.13.2", optional = true, default-features = false, features = ["instructions", "inline_asm"] }
1010
uart_16550 = "0.2.10"

Diff for: tests/test_kernels/map_phys_mem/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2018"
66

77
[dependencies]
88
bootloader = { path = "../../.." }
9-
x86_64 = "0.13.2"
9+
x86_64 = { version = "0.13.2", optional = true, default-features = false, features = ["instructions", "inline_asm"] }
1010
uart_16550 = "0.2.10"
1111

1212
[package.metadata.bootloader]

0 commit comments

Comments
 (0)