Skip to content

Commit

Permalink
Unrolled build for rust-lang#119544
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#119544 - roblabla:new-win7-targets, r=Nilstrieb

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
rust-timer committed Jan 3, 2024
2 parents 1a47f5b + d9d23fa commit 6fa532b
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 6fa532b

Please sign in to comment.