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

This commit is contained in:
Chris Denton 2022-03-29 12:37:20 +01:00
parent abf0ec8383
commit 017a092f45
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

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