From 17176b851c9ff3201d755c4cedb3dbca56f7ec0c Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Sun, 31 Mar 2024 06:39:47 +0000 Subject: [PATCH] Enable has_thread_local for i686-msvc --- compiler/rustc_target/src/spec/targets/i686_pc_windows_msvc.rs | 2 -- .../rustc_target/src/spec/targets/i686_win7_windows_msvc.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/compiler/rustc_target/src/spec/targets/i686_pc_windows_msvc.rs b/compiler/rustc_target/src/spec/targets/i686_pc_windows_msvc.rs index becd2fd7afb21..970b43ad109ba 100644 --- a/compiler/rustc_target/src/spec/targets/i686_pc_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/targets/i686_pc_windows_msvc.rs @@ -18,8 +18,6 @@ pub fn target() -> Target { "/SAFESEH", ], ); - // Workaround for #95429 - base.has_thread_local = false; Target { llvm_target: "i686-pc-windows-msvc".into(), diff --git a/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs b/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs index b68316f2830ed..ae1a44e44a85a 100644 --- a/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs @@ -18,8 +18,6 @@ pub fn target() -> Target { "/SAFESEH", ], ); - // Workaround for #95429 - base.has_thread_local = false; Target { llvm_target: "i686-pc-windows-msvc".into(),