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"] }