summaryrefslogtreecommitdiff
path: root/poky/meta/classes/rust-common.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/classes/rust-common.bbclass')
-rw-r--r--poky/meta/classes/rust-common.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/poky/meta/classes/rust-common.bbclass b/poky/meta/classes/rust-common.bbclass
index 98d65970e8..8cfe864ca3 100644
--- a/poky/meta/classes/rust-common.bbclass
+++ b/poky/meta/classes/rust-common.bbclass
@@ -65,7 +65,7 @@ def rust_base_triple(d, thing):
if thing == "TARGET" and target_is_armv7(d):
arch = "armv7"
else:
- arch = d.getVar('{}_ARCH'.format(thing))
+ arch = oe.rust.arch_to_rust_arch(d.getVar('{}_ARCH'.format(thing)))
# All the Yocto targets are Linux and are 'unknown'
vendor = "-unknown"