summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/rust/rust_1.70.0.bb8
1 files changed, 2 insertions, 6 deletions
diff --git a/meta/recipes-devtools/rust/rust_1.70.0.bb b/meta/recipes-devtools/rust/rust_1.70.0.bb
index 6a28dc926e..3d176e54c1 100644
--- a/meta/recipes-devtools/rust/rust_1.70.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.70.0.bb
@@ -154,13 +154,9 @@ python do_configure() {
154 154
155 config.set("build", "vendor", e(True)) 155 config.set("build", "vendor", e(True))
156 156
157 if not "targets" in locals(): 157 config.set("build", "target", e([d.getVar("RUST_TARGET_SYS")]))
158 targets = [d.getVar("RUST_TARGET_SYS")]
159 config.set("build", "target", e(targets))
160 158
161 if not "hosts" in locals(): 159 config.set("build", "host", e([d.getVar("RUST_HOST_SYS")]))
162 hosts = [d.getVar("RUST_HOST_SYS")]
163 config.set("build", "host", e(hosts))
164 160
165 # We can't use BUILD_SYS since that is something the rust snapshot knows 161 # We can't use BUILD_SYS since that is something the rust snapshot knows
166 # nothing about when trying to build some stage0 tools (like fabricate) 162 # nothing about when trying to build some stage0 tools (like fabricate)