1diff --git a/meta/classes-recipe/rust-common.bbclass b/meta/classes-recipe/rust-common.bbclass
2index 3d73a370ec8..5bdaf0c7a69 100644
3--- a/meta/classes-recipe/rust-common.bbclass
4+++ b/meta/classes-recipe/rust-common.bbclass
5@@ -63,6 +63,8 @@ def rust_base_triple(d, thing):
6 # This catches ARM targets and appends the necessary hard float bits
7 if os == "linux-gnueabi" or os == "linux-musleabi":
8 libc = bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hf', '', d)
9+ if os == "linux-gnux32" or os == "linux-muslx32":
10+ libc = ""
11 elif "musl" in os:
12 libc = "-musl"
13 os = "linux"