Skip to content

Commit

Permalink
Auto merge of rust-lang#123257 - ChrisDenton:enable-tls, r=fmease
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Apr 13, 2024
2 parents 9782770 + 17176b8 commit f5aa452
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit f5aa452

Please sign in to comment.