Skip to content

Commit

Permalink
Modifie to proper CPU architecture name for ppc64le.
Browse files Browse the repository at this point in the history
Rust core::arch understand ppc64le as powerpc64 architecture
instead of powerpc64le architecture.

Signed-off-by: Abhishek Dasgupta <abdasgupta@in.ibm.com>
  • Loading branch information
Abhishek Dasgupta committed Jul 9, 2020
1 parent f404f4d commit ae83c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent/src/linux_abi.rs
Expand Up @@ -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"
Expand Down

0 comments on commit ae83c96

Please sign in to comment.