Enable #[thread_local]
for all windows-msvc targets
This commit is contained in:
parent
2595d03827
commit
9ca26f111a
@ -3,7 +3,6 @@
|
||||
pub fn target() -> Target {
|
||||
let mut base = super::windows_msvc_base::opts();
|
||||
base.max_atomic_width = Some(64);
|
||||
base.has_elf_tls = true;
|
||||
base.features = "+neon,+fp-armv8".to_string();
|
||||
|
||||
Target {
|
||||
|
@ -3,7 +3,6 @@
|
||||
pub fn target() -> Target {
|
||||
let mut base = super::windows_uwp_msvc_base::opts();
|
||||
base.max_atomic_width = Some(64);
|
||||
base.has_elf_tls = true;
|
||||
|
||||
Target {
|
||||
llvm_target: "aarch64-pc-windows-msvc".to_string(),
|
||||
|
@ -4,7 +4,6 @@ pub fn target() -> Target {
|
||||
let mut base = super::windows_uwp_msvc_base::opts();
|
||||
base.cpu = "pentium4".to_string();
|
||||
base.max_atomic_width = Some(64);
|
||||
base.has_elf_tls = true;
|
||||
|
||||
Target {
|
||||
llvm_target: "i686-pc-windows-msvc".to_string(),
|
||||
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
||||
options: TargetOptions {
|
||||
features: "+vfp3,+neon".to_string(),
|
||||
max_atomic_width: Some(64),
|
||||
has_elf_tls: true,
|
||||
// FIXME(jordanrh): use PanicStrategy::Unwind when SEH is
|
||||
// implemented for windows/arm in LLVM
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
|
@ -27,6 +27,7 @@ pub fn opts() -> TargetOptions {
|
||||
// linking some libraries which require a specific agreement, so it may
|
||||
// not ever be possible for us to pass this flag.
|
||||
no_default_libraries: false,
|
||||
has_elf_tls: true,
|
||||
|
||||
..base
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ pub fn target() -> Target {
|
||||
let mut base = super::windows_msvc_base::opts();
|
||||
base.cpu = "x86-64".to_string();
|
||||
base.max_atomic_width = Some(64);
|
||||
base.has_elf_tls = true;
|
||||
|
||||
Target {
|
||||
llvm_target: "x86_64-pc-windows-msvc".to_string(),
|
||||
|
@ -4,7 +4,6 @@ pub fn target() -> Target {
|
||||
let mut base = super::windows_uwp_msvc_base::opts();
|
||||
base.cpu = "x86-64".to_string();
|
||||
base.max_atomic_width = Some(64);
|
||||
base.has_elf_tls = true;
|
||||
|
||||
Target {
|
||||
llvm_target: "x86_64-pc-windows-msvc".to_string(),
|
||||
|
Loading…
Reference in New Issue
Block a user