1
Fork 0

Rollup merge of #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.
This commit is contained in:
Dylan DPC 2022-03-27 05:36:11 +02:00 committed by GitHub
commit 2ab4ad5f26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@ pub fn target() -> Target {
pre_link_args, pre_link_args,
exe_suffix: ".elf".to_string(), exe_suffix: ".elf".to_string(),
no_default_libraries: false, no_default_libraries: false,
has_thread_local: true,
..Default::default() ..Default::default()
}, },
} }