Skip to content

Commit 69f8e2a

Browse files
authored
Rollup merge of rust-lang#95341 - Meziu:armv6k-3ds-target, r=nagisa
ARMv6K Horizon OS has_thread_local support cc. `@ian-h-chamberlain` cc. `@AzureMarker` Being an ARM target, it has always had built-in support for `#[thread_local]`. This PR comes in just now because we were testing `std::thread` support with `thread_local_dtor`s. This will hopefully be the last PR for the target specification, unless anymore features will be needed as time goes on.
2 parents 23ba446 + 419b630 commit 69f8e2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/armv6k_nintendo_3ds.rs

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pub fn target() -> Target {
3737
pre_link_args,
3838
exe_suffix: ".elf".to_string(),
3939
no_default_libraries: false,
40+
has_thread_local: true,
4041
..Default::default()
4142
},
4243
}

0 commit comments

Comments
 (0)