Skip to content

Commit

Permalink
Rollup merge of #95341 - Meziu:armv6k-3ds-target, r=nagisa
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Dylan-DPC authored Mar 27, 2022
2 parents 178a09e + 419b630 commit 2ab4ad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_target/src/spec/armv6k_nintendo_3ds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub fn target() -> Target {
pre_link_args,
exe_suffix: ".elf".to_string(),
no_default_libraries: false,
has_thread_local: true,
..Default::default()
},
}
Expand Down

0 comments on commit 2ab4ad5

Please sign in to comment.