rustc_target: Move target_c_int_width
from Target
to TargetOptions
This commit is contained in:
parent
0256d065d4
commit
ffe65f825b
152 changed files with 20 additions and 155 deletions
|
@ -18,7 +18,6 @@ pub fn target() -> Target {
|
|||
llvm_target,
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: arch.to_string(),
|
||||
target_os: "macos".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "arm64-apple-ios".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "ios".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "arm64-apple-tvos".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "tvos".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-fuchsia".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "fuchsia".to_string(),
|
||||
|
|
|
@ -13,7 +13,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-linux-android".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "android".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-pc-windows-msvc".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:w-p:64:64-i32:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "windows".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-cloudabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "cloudabi".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-freebsd".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "freebsd".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-hermit".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "hermit".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_env: "gnu".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-linux-musl".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_env: "musl".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-netbsd".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "netbsd".to_string(),
|
||||
|
|
|
@ -25,7 +25,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-none".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: String::new(),
|
||||
|
|
|
@ -25,7 +25,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-none".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: String::new(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-openbsd".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "openbsd".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-redox".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "redox".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-pc-windows-msvc".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:w-p:64:64-i32:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "windows".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "aarch64-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||
arch: "aarch64".to_string(),
|
||||
target_os: "vxworks".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "arm-linux-androideabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "android".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "arm-unknown-linux-gnueabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "arm-unknown-linux-gnueabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -14,7 +14,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "arm-unknown-linux-gnueabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -14,7 +14,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "arm-unknown-linux-gnueabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armebv7r-unknown-none-eabi".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armebv7r-unknown-none-eabihf".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
|
|
|
@ -6,7 +6,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv4t-unknown-linux-gnueabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -6,7 +6,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv5te-unknown-linux-gnueabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv5te-unknown-linux-gnueabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -6,7 +6,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv6-unknown-freebsd-gnueabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "freebsd".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv6-unknown-netbsdelf-eabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "netbsd".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-apple-ios".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:o-p:32:32-Fi8-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "ios".to_string(),
|
||||
|
|
|
@ -18,7 +18,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-none-linux-android".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "android".to_string(),
|
||||
|
|
|
@ -12,7 +12,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-cloudabi-eabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "cloudabi".to_string(),
|
||||
|
|
|
@ -6,7 +6,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-freebsd-gnueabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "freebsd".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-linux-gnueabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-linux-gnueabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -14,7 +14,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-linux-gnueabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -11,7 +11,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-linux-gnueabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -6,7 +6,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-netbsdelf-eabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "netbsd".to_string(),
|
||||
|
|
|
@ -6,7 +6,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7-unknown-linux-gnueabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "vxworks".to_string(),
|
||||
|
|
|
@ -36,7 +36,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7a-none-eabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: String::new(),
|
||||
|
|
|
@ -24,7 +24,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7a-none-eabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: String::new(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7r-unknown-none-eabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
|
|
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7r-unknown-none-eabihf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "armv7s-apple-ios".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:o-p:32:32-Fi8-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32".to_string(),
|
||||
arch: "arm".to_string(),
|
||||
target_os: "ios".to_string(),
|
||||
|
|
|
@ -14,8 +14,8 @@ pub fn target(target_cpu: String) -> Target {
|
|||
target_os: "unknown".to_string(),
|
||||
target_env: "".to_string(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
target_c_int_width: 16.to_string(),
|
||||
options: TargetOptions {
|
||||
target_c_int_width: "16".to_string(),
|
||||
cpu: target_cpu.clone(),
|
||||
exe_suffix: ".elf".to_string(),
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "hexagon-unknown-linux-musl".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: concat!(
|
||||
"e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32",
|
||||
":32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32",
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i386-apple-ios".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:128-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -19,7 +19,6 @@ pub fn target() -> Target {
|
|||
llvm_target,
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:128-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -17,7 +17,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-linux-android".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -20,7 +20,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-pc-windows-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
i64:64-f80:32-n8:16:32-a:0:32-S32"
|
||||
.to_string(),
|
||||
|
|
|
@ -24,7 +24,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-pc-windows-msvc".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
i64:64-f80:32-n8:16:32-a:0:32-S32"
|
||||
.to_string(),
|
||||
|
|
|
@ -12,7 +12,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-cloudabi".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -13,7 +13,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-freebsd".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -11,7 +11,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-haiku".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -11,7 +11,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -26,7 +26,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-linux-musl".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -11,7 +11,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-netbsdelf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -12,7 +12,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-openbsd".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -80,7 +80,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-windows-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
i64:64-f80:32-n8:16:32-a:0:32-S32"
|
||||
.to_string(),
|
||||
|
|
|
@ -19,7 +19,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-pc-windows-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
i64:64-f80:32-n8:16:32-a:0:32-S32"
|
||||
.to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-pc-windows-msvc".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
i64:64-f80:32-n8:16:32-a:0:32-S32"
|
||||
.to_string(),
|
||||
|
|
|
@ -11,7 +11,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "i686-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
||||
f64:32:64-f80:32-n8:16:32-S128"
|
||||
.to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mips64-unknown-linux-gnuabi64".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(),
|
||||
arch: "mips64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mips64-unknown-linux-musl".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(),
|
||||
arch: "mips64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mips64el-unknown-linux-gnuabi64".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(),
|
||||
arch: "mips64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mips64el-unknown-linux-musl".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(),
|
||||
arch: "mips64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mips-unknown-linux-gnu".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mips-unknown-linux-musl".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mips-unknown-linux-uclibc".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -12,7 +12,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsel-sony-psp".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "psp".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsel-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsel-unknown-linux-musl".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsel-unknown-linux-uclibc".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsisa32r6-unknown-linux-gnu".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsisa32r6el-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsisa64r6-unknown-linux-gnuabi64".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(),
|
||||
arch: "mips64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "mipsisa64r6el-unknown-linux-gnuabi64".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(),
|
||||
arch: "mips64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -38,6 +38,7 @@ use crate::spec::abi::{lookup as lookup_abi, Abi};
|
|||
use crate::spec::crt_objects::{CrtObjects, CrtObjectsFallback};
|
||||
use rustc_serialize::json::{Json, ToJson};
|
||||
use std::collections::BTreeMap;
|
||||
use std::ops::Deref;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::str::FromStr;
|
||||
use std::{fmt, io};
|
||||
|
@ -668,8 +669,6 @@ pub struct Target {
|
|||
pub target_endian: String,
|
||||
/// Number of bits in a pointer. Influences the `target_pointer_width` `cfg` variable.
|
||||
pub pointer_width: u32,
|
||||
/// Width of c_int type
|
||||
pub target_c_int_width: String,
|
||||
/// OS name to use for conditional compilation.
|
||||
pub target_os: String,
|
||||
/// Environment name to use for conditional compilation.
|
||||
|
@ -707,6 +706,9 @@ pub struct TargetOptions {
|
|||
/// Whether the target is built-in or loaded from a custom target specification.
|
||||
pub is_builtin: bool,
|
||||
|
||||
/// Width of c_int type
|
||||
pub target_c_int_width: String,
|
||||
|
||||
/// Linker to invoke
|
||||
pub linker: Option<String>,
|
||||
|
||||
|
@ -985,6 +987,7 @@ impl Default for TargetOptions {
|
|||
fn default() -> TargetOptions {
|
||||
TargetOptions {
|
||||
is_builtin: false,
|
||||
target_c_int_width: "32".to_string(),
|
||||
linker: option_env!("CFG_DEFAULT_LINKER").map(|s| s.to_string()),
|
||||
lld_flavor: LldFlavor::Ld,
|
||||
pre_link_args: LinkArgs::new(),
|
||||
|
@ -1075,6 +1078,17 @@ impl Default for TargetOptions {
|
|||
}
|
||||
}
|
||||
|
||||
/// `TargetOptions` being a separate type is basically an implementation detail of `Target` that is
|
||||
/// used for providing defaults. Perhaps there's a way to merge `TargetOptions` into `Target` so
|
||||
/// this `Deref` implementation is no longer necessary.
|
||||
impl Deref for Target {
|
||||
type Target = TargetOptions;
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
&self.options
|
||||
}
|
||||
}
|
||||
|
||||
impl Target {
|
||||
/// Given a function ABI, turn it into the correct ABI for this target.
|
||||
pub fn adjust_abi(&self, abi: Abi) -> Abi {
|
||||
|
@ -1148,7 +1162,6 @@ impl Target {
|
|||
pointer_width: get_req_field("target-pointer-width")?
|
||||
.parse::<u32>()
|
||||
.map_err(|_| "target-pointer-width must be an integer".to_string())?,
|
||||
target_c_int_width: get_req_field("target-c-int-width")?,
|
||||
data_layout: get_req_field("data-layout")?,
|
||||
arch: get_req_field("arch")?,
|
||||
target_os: get_req_field("os")?,
|
||||
|
@ -1392,6 +1405,7 @@ impl Target {
|
|||
}
|
||||
|
||||
key!(is_builtin, bool);
|
||||
key!(target_c_int_width);
|
||||
key!(linker, optional);
|
||||
key!(lld_flavor, LldFlavor)?;
|
||||
key!(pre_link_objects, link_objects);
|
||||
|
@ -1621,7 +1635,6 @@ impl ToJson for Target {
|
|||
target_val!(llvm_target);
|
||||
target_val!(target_endian);
|
||||
d.insert("target-pointer-width".to_string(), self.pointer_width.to_string().to_json());
|
||||
target_val!(target_c_int_width);
|
||||
target_val!(arch);
|
||||
target_val!(target_os, "os");
|
||||
target_val!(target_env, "env");
|
||||
|
@ -1629,6 +1642,7 @@ impl ToJson for Target {
|
|||
target_val!(data_layout);
|
||||
target_val!(linker_flavor);
|
||||
|
||||
target_option_val!(target_c_int_width);
|
||||
target_option_val!(is_builtin);
|
||||
target_option_val!(linker);
|
||||
target_option_val!(lld_flavor);
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "msp430-none-elf".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 16,
|
||||
target_c_int_width: "16".to_string(),
|
||||
data_layout: "e-m:e-p:16:16-i32:16-i64:16-f32:16-f64:16-a:8-n8:16-S16".to_string(),
|
||||
arch: "msp430".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
|
@ -14,6 +13,7 @@ pub fn target() -> Target {
|
|||
linker_flavor: LinkerFlavor::Gcc,
|
||||
|
||||
options: TargetOptions {
|
||||
target_c_int_width: "16".to_string(),
|
||||
executables: true,
|
||||
|
||||
// The LLVM backend currently can't generate object files. To
|
||||
|
|
|
@ -15,7 +15,6 @@ pub fn target() -> Target {
|
|||
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
|
||||
options: TargetOptions {
|
||||
// The linker can be installed from `crates.io`.
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc64-unknown-freebsd".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-i64:64-n32:64".to_string(),
|
||||
arch: "powerpc64".to_string(),
|
||||
target_os: "freebsd".to_string(),
|
||||
|
|
|
@ -14,7 +14,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc64-unknown-linux-gnu".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-i64:64-n32:64".to_string(),
|
||||
arch: "powerpc64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc64-unknown-linux-musl".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-i64:64-n32:64".to_string(),
|
||||
arch: "powerpc64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc64-unknown-linux-gnu".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-i64:64-n32:64".to_string(),
|
||||
arch: "powerpc64".to_string(),
|
||||
target_os: "vxworks".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc64le-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i64:64-n32:64".to_string(),
|
||||
arch: "powerpc64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc64le-unknown-linux-musl".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "e-m:e-i64:64-n32:64".to_string(),
|
||||
arch: "powerpc64".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc-unknown-linux-gnu".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
|
||||
arch: "powerpc".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc-unknown-linux-gnuspe".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
|
||||
arch: "powerpc".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc-unknown-linux-musl".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
|
||||
arch: "powerpc".to_string(),
|
||||
target_os: "linux".to_string(),
|
||||
|
|
|
@ -9,7 +9,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc-unknown-netbsd".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
|
||||
arch: "powerpc".to_string(),
|
||||
target_os: "netbsd".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc-unknown-linux-gnu".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
|
||||
arch: "powerpc".to_string(),
|
||||
target_os: "vxworks".to_string(),
|
||||
|
|
|
@ -10,7 +10,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "powerpc-unknown-linux-gnuspe".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
|
||||
arch: "powerpc".to_string(),
|
||||
target_os: "vxworks".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "riscv32-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_env: "gnu".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-i64:64-n32-S128".to_string(),
|
||||
arch: "riscv32".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "riscv32".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "riscv32".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "riscv32".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 32,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
|
|
|
@ -5,7 +5,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "riscv64-unknown-linux-gnu".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_env: "gnu".to_string(),
|
||||
data_layout: "e-m:e-p:64:64-i64:64-i128:128-n64-S128".to_string(),
|
||||
arch: "riscv64".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "riscv64".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
|
|
|
@ -7,7 +7,6 @@ pub fn target() -> Target {
|
|||
llvm_target: "riscv64".to_string(),
|
||||
target_endian: "little".to_string(),
|
||||
pointer_width: 64,
|
||||
target_c_int_width: "32".to_string(),
|
||||
target_os: "none".to_string(),
|
||||
target_env: String::new(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue