Skip to content

Commit 89efc1e

Browse files
authored
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".
2 parents 9511d10 + d9d23fa commit 89efc1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pub fn target() -> Target {
44
let mut base = base::windows_msvc::opts();
55
base.cpu = "pentium4".into();
66
base.max_atomic_width = Some(64);
7+
base.vendor = "win7".into();
78

89
base.add_pre_link_args(
910
LinkerFlavor::Msvc(Lld::No),

0 commit comments

Comments
 (0)