Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Disable #[thread_local] support on i686-pc-windows-msvc
ChrisDenton committed Mar 29, 2022

Verified

This commit was signed with the committer’s verified signature.
ChrisDenton Chris Denton
commit 017a092f45e53c9dc999b5ef1e4e0762dfd34979
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
@@ -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(),