From 4b4ece9a1fe373280eecac707cec25aca448b080 Mon Sep 17 00:00:00 2001 From: Akira Moroo Date: Wed, 4 Dec 2024 03:19:34 +0000 Subject: [PATCH] build: Fix build error with x86_64 crate Signed-off-by: Akira Moroo --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d1f342c0..b94c23ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ chrono = { version = "0.4", default-features = false } [target.'cfg(target_arch = "x86_64")'.dependencies] uart_16550 = "0.3.2" -x86_64 = "0.15.2" +x86_64 = { version = "0.15.2", default-features = false, features = ["instructions"] } [target.'cfg(target_arch = "riscv64")'.dependencies] chrono = { version = "0.4", default-features = false }