new/yocto/poky/meta/lib/oe/rust.py
2025-05-10 21:58:58 +08:00

6 lines
174 B
Python

# 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