From 91b56ee30d75f298385c7f20feb38b411d2846c9 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 30 Apr 2021 12:14:43 +0200 Subject: [PATCH] Backport: Reduce number of used unstable features of `x86_64` crate --- Cargo.toml | 2 +- example-kernel/Cargo.toml | 2 +- test-kernel/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index df352085..02cd5043 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ required-features = ["binary"] [dependencies] xmas-elf = { version = "0.6.2", optional = true } -x86_64 = { version = "0.13.2", optional = true } +x86_64 = { version = "0.13.2", optional = true, default-features = false, features = ["instructions", "inline_asm"] } usize_conversions = { version = "0.2.0", optional = true } fixedvec = { version = "0.2.4", optional = true } bit_field = { version = "0.10.0", optional = true } diff --git a/example-kernel/Cargo.toml b/example-kernel/Cargo.toml index 37431378..62593e09 100644 --- a/example-kernel/Cargo.toml +++ b/example-kernel/Cargo.toml @@ -5,4 +5,4 @@ authors = ["Philipp Oppermann "] edition = "2018" [dependencies] -x86_64 = "0.13.2" +x86_64 = { version = "0.13.2", default-features = false, features = ["instructions", "inline_asm"] } diff --git a/test-kernel/Cargo.toml b/test-kernel/Cargo.toml index f39f7503..228b7790 100644 --- a/test-kernel/Cargo.toml +++ b/test-kernel/Cargo.toml @@ -5,4 +5,4 @@ authors = ["Philipp Oppermann "] edition = "2018" [dependencies] -x86_64 = "0.13.2" +x86_64 = { version = "0.13.2", default-features = false, features = ["instructions", "inline_asm"] }