Skip to content

Commit

Permalink
Rollup merge of rust-lang#119544 - roblabla:new-win7-targets, r=Nilst…
Browse files Browse the repository at this point in the history
…rieb

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

In rust-lang#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".
  • Loading branch information
fmease authored Jan 3, 2024
2 parents a79fccc + d9d23fa commit 9b2a44a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 9b2a44a

Please sign in to comment.