new/yocto/poky/meta/lib/oe/rust.py

6 lines
174 B
Python
Raw Normal View History

2025-05-10 21:58:58 +08: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