diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2022-03-29 12:37:20 +0100 |
|---|---|---|
| committer | Chris Denton <christophersdenton@gmail.com> | 2022-03-29 12:37:20 +0100 |
| commit | 017a092f45e53c9dc999b5ef1e4e0762dfd34979 (patch) | |
| tree | 6d8c3bd21b17b611adbac18c6436fa45d6429cb6 | |
| parent | abf0ec83833095196627f2f292f44976594304ce (diff) | |
| download | rust-017a092f45e53c9dc999b5ef1e4e0762dfd34979.tar.gz rust-017a092f45e53c9dc999b5ef1e4e0762dfd34979.zip | |
Disable #[thread_local] support on i686-pc-windows-msvc
| -rw-r--r-- | compiler/rustc_target/src/spec/i686_pc_windows_msvc.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/i686_pc_windows_msvc.rs b/compiler/rustc_target/src/spec/i686_pc_windows_msvc.rs index 174294895bf..5b30dc1d3da 100644 --- a/compiler/rustc_target/src/spec/i686_pc_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/i686_pc_windows_msvc.rs @@ -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(), |
