From ba5e429b59870a27aa81e4b87df6562afb92ea18 Mon Sep 17 00:00:00 2001 From: roblabla Date: Wed, 3 Jan 2024 14:01:35 +0100 Subject: [PATCH] Fix: Properly set vendor in i686-win7-windows-msvc target --- compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs b/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs index ba80c23196e1d..14e078cd8248f 100644 --- a/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs @@ -4,6 +4,7 @@ pub fn target() -> Target { let mut base = base::windows_msvc::opts(); base.cpu = "pentium4".into(); base.max_atomic_width = Some(64); + base.vendor = "win7"; base.add_pre_link_args( LinkerFlavor::Msvc(Lld::No),