summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer x Johansson <perxjoh@axis.com>2025-09-02 18:38:41 +0200
committerSteve Sakoman <steve@sakoman.com>2025-09-09 09:30:07 -0700
commit5495d8b6ff75e625e78b94503acbb35d0247709c (patch)
tree01d4aedf0baceba7f6d210852f21a6aa717fd3e7
parentf6534ab04fc1a73c63e9b9e7bce8b43d2ee827f0 (diff)
downloadpoky-5495d8b6ff75e625e78b94503acbb35d0247709c.tar.gz
rust-target-config: Add has-thread-local option
The "has-elf-tls" option was removed by the commit 8e1614a906086fb46c5dd7b7f2dffab91194165c. However is should have been renamed to "has-thread-local", since it was renamed and not removed in rust by this commit. https://github.com/rust-lang/rust/commit/391332c5d9d5a5e97a0d36e011a87ad43045cfd3 (From OE-Core rev: 575a4316f661392eb73d1d97300511e2bca24ada) Signed-off-by: Per x Johansson <perxjoh@axis.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/classes-recipe/rust-target-config.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass
index 67aaa56bac..bdc1e23501 100644
--- a/meta/classes-recipe/rust-target-config.bbclass
+++ b/meta/classes-recipe/rust-target-config.bbclass
@@ -396,6 +396,7 @@ def rust_gen_target(d, thing, wd, arch):
396 tspec['linker-is-gnu'] = True 396 tspec['linker-is-gnu'] = True
397 tspec['linker-flavor'] = "gcc" 397 tspec['linker-flavor'] = "gcc"
398 tspec['has-rpath'] = True 398 tspec['has-rpath'] = True
399 tspec['has-thread-local'] = True
399 tspec['position-independent-executables'] = True 400 tspec['position-independent-executables'] = True
400 tspec['panic-strategy'] = d.getVar("RUST_PANIC_STRATEGY") 401 tspec['panic-strategy'] = d.getVar("RUST_PANIC_STRATEGY")
401 402