summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer x Johansson <perxjoh@axis.com>2025-08-22 13:58:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-25 17:47:21 +0100
commit391c628379592470142ed197ec216cf65ccccfb1 (patch)
tree1e85b6bd4cc2bed861c88ffb7cdcb29e0d7ccd18
parent9be7072616f11076a09bd8f051cb07e6ca24db14 (diff)
downloadpoky-391c628379592470142ed197ec216cf65ccccfb1.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 Change-Id: Ia1fdf7698ebeef62a88052713645d5b499164353 (From OE-Core rev: 18a87dd1724e0934a669aefae36d20374c06c493) Signed-off-by: Per x Johansson <perxjoh@axis.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 cac6e90a9e..0df6f0904c 100644
--- a/meta/classes-recipe/rust-target-config.bbclass
+++ b/meta/classes-recipe/rust-target-config.bbclass
@@ -418,6 +418,7 @@ def rust_gen_target(d, thing, wd, arch):
418 tspec['linker-is-gnu'] = True 418 tspec['linker-is-gnu'] = True
419 tspec['linker-flavor'] = "gcc" 419 tspec['linker-flavor'] = "gcc"
420 tspec['has-rpath'] = True 420 tspec['has-rpath'] = True
421 tspec['has-thread-local'] = True
421 tspec['position-independent-executables'] = True 422 tspec['position-independent-executables'] = True
422 tspec['panic-strategy'] = d.getVar("RUST_PANIC_STRATEGY") 423 tspec['panic-strategy'] = d.getVar("RUST_PANIC_STRATEGY")
423 424