diff options
| author | bors <bors@rust-lang.org> | 2024-04-13 07:03:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-13 07:03:01 +0000 |
| commit | f96442b4482fef6a50b65f2284bcfb8921320183 (patch) | |
| tree | c4a4f8107d9ff74602548680b05ec6c37441c0a0 /compiler | |
| parent | 59c38c06049fc3fba98bb046701eb2ab1777d998 (diff) | |
| parent | 17176b851c9ff3201d755c4cedb3dbca56f7ec0c (diff) | |
| download | rust-f96442b4482fef6a50b65f2284bcfb8921320183.tar.gz rust-f96442b4482fef6a50b65f2284bcfb8921320183.zip | |
Auto merge of #123257 - ChrisDenton:enable-tls, r=fmease
Re-enable `has_thread_local` for i686-msvc A few years back, `has_thread_local` was disabled as a workaround for a compiler issue. While the exact cause was never tracked down, it was suspected to be caused by the compiler inlining a thread local access across a dylib boundary. This should be fixed now so let's try again.
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/i686_pc_windows_msvc.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs | 2 |
2 files changed, 0 insertions, 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 becd2fd7afb..970b43ad109 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 b68316f2830..ae1a44e44a8 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(), |
