diff options
| author | Kleis Auke Wolthuizen <github@kleisauke.nl> | 2024-11-20 10:47:28 +0100 |
|---|---|---|
| committer | Kleis Auke Wolthuizen <github@kleisauke.nl> | 2024-11-20 10:47:28 +0100 |
| commit | 57ed8e8436eddcaacb4bce97de23a2d23ff8affe (patch) | |
| tree | 3e2ce5824f6168baf647f89b67dd49e95676bff3 /compiler | |
| parent | 70e814bd9e532a302763f870c665c5af59c2b632 (diff) | |
| download | rust-57ed8e8436eddcaacb4bce97de23a2d23ff8affe.tar.gz rust-57ed8e8436eddcaacb4bce97de23a2d23ff8affe.zip | |
Fix LLVM target triple for `x86_64-win7-windows-msvc`
The vendor field needs to be `pc` rather than `win7`.
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/x86_64_win7_windows_msvc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_win7_windows_msvc.rs b/compiler/rustc_target/src/spec/targets/x86_64_win7_windows_msvc.rs index 3a3716db350..f42188ec61a 100644 --- a/compiler/rustc_target/src/spec/targets/x86_64_win7_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/targets/x86_64_win7_windows_msvc.rs @@ -8,7 +8,7 @@ pub(crate) fn target() -> Target { base.vendor = "win7".into(); Target { - llvm_target: "x86_64-win7-windows-msvc".into(), + llvm_target: "x86_64-pc-windows-msvc".into(), metadata: crate::spec::TargetMetadata { description: Some("64-bit Windows 7 support".into()), tier: Some(3), |
