Rollup merge of #119544 - roblabla:new-win7-targets, r=Nilstrieb

Fix: Properly set vendor in i686-win7-windows-msvc target

In #118150 , setting the `vendor` field of the `i686-win7-windows-msvc` target was forgotten, preventing us from easily checking the target using `cfg(target_vendor)`.

With this PR, we set the target vendor to "win7".
This commit is contained in:
León Orell Valerian Liehr 2024-01-03 16:08:33 +01:00 committed by GitHub
commit 9b2a44adc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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