Skip to content

Commit 9fbb4fe

Browse files
committed
build: Fix build error with x86_64 crate
The imcoming x86_64 0.15.2 requires recent version of nightly Rust by default. Signed-off-by: Akira Moroo <[email protected]>
1 parent 723dfbb commit 9fbb4fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ chrono = { version = "0.4", default-features = false }
4040

4141
[target.'cfg(target_arch = "x86_64")'.dependencies]
4242
uart_16550 = "0.3.2"
43-
x86_64 = "0.15.1"
43+
x86_64 = { version = "0.15.1", default-features = false, features = [
44+
"instructions",
45+
] }
4446

4547
[target.'cfg(target_arch = "riscv64")'.dependencies]
4648
chrono = { version = "0.4", default-features = false }

0 commit comments

Comments
 (0)