Rollup merge of #95430 - ChrisDenton:disable-tls-i686-msvc, r=nagisa

Disable #[thread_local] support on i686-pc-windows-msvc

Fixes #95429
This commit is contained in:
Dylan DPC 2022-04-02 03:34:22 +02:00 committed by GitHub
commit 46a4754df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(),