6 lines
174 B
Python
Raw Normal View History

2024-03-01 23:15:01 +01:00
# Handle mismatches between `uname -m`-style output and Rust's arch names
def arch_to_rust_arch(arch):
if arch == "ppc64le":
return "powerpc64le"
return arch