Modifie to proper CPU architecture name for ppc64le.

Rust core::arch understand ppc64le as powerpc64 architecture
instead of powerpc64le architecture.

Signed-off-by: Abhishek Dasgupta <abdasgupta@in.ibm.com>
This commit is contained in:
Abhishek Dasgupta 2020-07-08 07:19:10 -04:00
parent f404f4d959
commit ae83c96da9

View File

@ -10,7 +10,7 @@ pub const SYSFS_DIR: &str = "/sys";
pub const SYSFS_PCI_BUS_PREFIX: &str = "/sys/bus/pci/devices";
pub const SYSFS_PCI_BUS_RESCAN_FILE: &str = "/sys/bus/pci/rescan";
#[cfg(any(
target_arch = "powerpc64le",
target_arch = "powerpc64",
target_arch = "s390x",
target_arch = "x86_64",
target_arch = "x86"