Skip to content

Commit

Permalink
Disable #[thread_local] support on i686-pc-windows-msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Mar 29, 2022
1 parent abf0ec8 commit 017a092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_target/src/spec/i686_pc_windows_msvc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ pub fn target() -> Target {
.entry(LinkerFlavor::Lld(LldFlavor::Link))
.or_default()
.extend(pre_link_args_msvc);
// Workaround for #95429
base.has_thread_local = false;

Target {
llvm_target: "i686-pc-windows-msvc".to_string(),
Expand Down

0 comments on commit 017a092

Please sign in to comment.