Add new x86_64-win7-windows-msvc target
This commit is contained in:
parent
2f8d81f9db
commit
ad6dd6c624
5 changed files with 65 additions and 0 deletions
|
@ -1604,6 +1604,7 @@ supported_targets! {
|
|||
("aarch64-uwp-windows-msvc", aarch64_uwp_windows_msvc),
|
||||
("x86_64-pc-windows-msvc", x86_64_pc_windows_msvc),
|
||||
("x86_64-uwp-windows-msvc", x86_64_uwp_windows_msvc),
|
||||
("x86_64-win7-windows-msvc", x86_64_win7_windows_msvc),
|
||||
("i686-pc-windows-msvc", i686_pc_windows_msvc),
|
||||
("i686-uwp-windows-msvc", i686_uwp_windows_msvc),
|
||||
("i586-pc-windows-msvc", i586_pc_windows_msvc),
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
use crate::spec::{base, Target};
|
||||
|
||||
pub fn target() -> Target {
|
||||
let mut base = base::windows_msvc::opts();
|
||||
base.cpu = "x86-64".into();
|
||||
base.plt_by_default = false;
|
||||
base.max_atomic_width = Some(64);
|
||||
base.vendor = "win7".into();
|
||||
|
||||
Target {
|
||||
llvm_target: "x86_64-win7-windows-msvc".into(),
|
||||
pointer_width: 64,
|
||||
data_layout: "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
||||
.into(),
|
||||
arch: "x86_64".into(),
|
||||
options: base,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue