Use x86 crate on i686 as well

This commit is contained in:
Jeremy Soller
2022-07-28 08:22:26 -06:00
parent fdb4ad8e88
commit 8db4596f73
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ default-features = false
byteorder = { version = "1", default-features = false }
fdt = { git = "https://gitlab.redox-os.org/thomhuds/fdt.git", default-features = false }
[target.'cfg(target_arch = "x86_64")'.dependencies]
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = "10.2.0"
x86 = { version = "0.47.0", default-features = false }

View File

@@ -60,7 +60,7 @@
#![feature(thread_local)]
#![no_std]
#[cfg(target_arch = "x86_64")]
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub extern crate x86;
#[macro_use]