Skip to content

Commit

Permalink
build: Fix build error with x86_64 crate
Browse files Browse the repository at this point in the history
The imcoming x86_64 0.15.2 requires recent version of nightly Rust by
default.

Signed-off-by: Akira Moroo <[email protected]>
  • Loading branch information
retrage committed Dec 4, 2024
1 parent 723dfbb commit 9fbb4fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ chrono = { version = "0.4", default-features = false }

[target.'cfg(target_arch = "x86_64")'.dependencies]
uart_16550 = "0.3.2"
x86_64 = "0.15.1"
x86_64 = { version = "0.15.1", default-features = false, features = [
"instructions",
] }

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

0 comments on commit 9fbb4fe

Please sign in to comment.