xref: /OK3568_Linux_fs/yocto/poky/meta/lib/oe/rust.py (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# 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
6