diff --git a/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_gnu.rs b/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_gnu.rs index bb8fab0572ee8..10a36b7aa62fc 100644 --- a/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_gnu.rs +++ b/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_gnu.rs @@ -3,6 +3,7 @@ use crate::spec::{Target, cvs}; pub(crate) fn target() -> Target { let mut base = super::i686_pc_windows_gnu::target(); base.families = cvs!["windows", "rust9x"]; + base.has_thread_local = false; base.metadata = crate::spec::TargetMetadata { description: Some("64-bit GNU rust9x (Windows XP 64-bit+)".into()), diff --git a/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_msvc.rs b/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_msvc.rs index b7cceb97b20f2..5646670daad5a 100644 --- a/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/targets/i686_rust9x_windows_msvc.rs @@ -3,6 +3,7 @@ use crate::spec::{LinkerFlavor, Lld, Target, cvs}; pub(crate) fn target() -> Target { let mut base = super::i686_pc_windows_msvc::target(); base.families = cvs!["windows", "rust9x"]; + base.has_thread_local = false; base.add_pre_link_args( LinkerFlavor::Msvc(Lld::No), diff --git a/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_gnu.rs b/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_gnu.rs index 2af3c4a9fdbb2..a661d3ceb4f79 100644 --- a/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_gnu.rs +++ b/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_gnu.rs @@ -3,6 +3,7 @@ use crate::spec::{Target, cvs}; pub(crate) fn target() -> Target { let mut base = super::x86_64_pc_windows_gnu::target(); base.families = cvs!["windows", "rust9x"]; + base.has_thread_local = false; base.metadata = crate::spec::TargetMetadata { description: Some("32-bit GNU rust9x (Windows 98/NT4+)".into()), diff --git a/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_msvc.rs b/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_msvc.rs index 3153f04e79a56..8b42b76847e51 100644 --- a/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/targets/x86_64_rust9x_windows_msvc.rs @@ -7,6 +7,7 @@ pub(crate) fn target() -> Target { base.plt_by_default = false; base.max_atomic_width = Some(64); base.families = cvs!["windows", "rust9x"]; + base.has_thread_local = false; base.add_pre_link_args( LinkerFlavor::Msvc(Lld::No),