blob: ec70b348054d2297031aef484a26a1fa4325a3d4 [file] [log] [blame]
Andrew Jefferyecdf5f12022-03-01 01:09:46 +10301# Handle mismatches between `uname -m`-style output and Rust's arch names
2def arch_to_rust_arch(arch):
3 if arch == "ppc64le":
4 return "powerpc64le"
5 return arch