Use x86 crate on i686 as well
This commit is contained in:
@@ -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 }
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user