From 5c050971787be5b22c8f649f874ef9c7c5e9922d Mon Sep 17 00:00:00 2001 From: Amulyam24 Date: Mon, 29 May 2023 15:12:38 +0530 Subject: [PATCH] consider ARCH as ppc64le when rust arch is powerpc64 Signed-off-by: Amulyam24 --- src/client.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client.rs b/src/client.rs index 3ce6c80f..20931e03 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1380,6 +1380,8 @@ const X86: &str = "x86"; const AMD: &str = "amd"; const ARM64: &str = "arm64"; const AARCH64: &str = "aarch64"; +const POWERPC64: &str = "powerpc64"; +const PPC64LE: &str = "ppc64le"; fn go_arch() -> &'static str { // Massage Rust Architecture vars to GO equivalent: @@ -1389,6 +1391,7 @@ fn go_arch() -> &'static str { X86_64 => AMD64, X86 => AMD, AARCH64 => ARM64, + POWERPC64 => PPC64LE, other => other, } }