From d9d23fa68d9b6349c01ff1f06e34f9ca384cdc97 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..5b91682e168ab 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".into(); base.add_pre_link_args( LinkerFlavor::Msvc(Lld::No),