compiler: Update all targets to the new c_int_width type
This commit is contained in:
@@ -6,7 +6,7 @@ pub(crate) fn opts() -> TargetOptions {
|
||||
TargetOptions {
|
||||
os: "none".into(),
|
||||
endian: Endian::Little,
|
||||
c_int_width: "32".into(),
|
||||
c_int_width: 32,
|
||||
linker_flavor: LinkerFlavor::Gnu(Cc::Yes, Lld::No),
|
||||
executables: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
|
||||
@@ -31,7 +31,7 @@ pub(crate) fn target() -> Target {
|
||||
options: TargetOptions {
|
||||
os: "vita".into(),
|
||||
endian: Endian::Little,
|
||||
c_int_width: "32".into(),
|
||||
c_int_width: 32,
|
||||
env: "newlib".into(),
|
||||
vendor: "sony".into(),
|
||||
abi: "eabihf".into(),
|
||||
|
||||
@@ -13,7 +13,7 @@ pub(crate) fn target() -> Target {
|
||||
llvm_target: "avr-unknown-unknown".into(),
|
||||
pointer_width: 16,
|
||||
options: TargetOptions {
|
||||
c_int_width: "16".into(),
|
||||
c_int_width: 16,
|
||||
exe_suffix: ".elf".into(),
|
||||
linker: Some("avr-gcc".into()),
|
||||
eh_frame_header: false,
|
||||
|
||||
@@ -16,7 +16,7 @@ pub(crate) fn target() -> Target {
|
||||
arch: "msp430".into(),
|
||||
|
||||
options: TargetOptions {
|
||||
c_int_width: "16".into(),
|
||||
c_int_width: 16,
|
||||
|
||||
// The LLVM backend currently can't generate object files. To
|
||||
// workaround this LLVM generates assembly files which then we feed
|
||||
|
||||
@@ -13,7 +13,7 @@ pub(crate) fn target() -> Target {
|
||||
|
||||
options: TargetOptions {
|
||||
endian: Endian::Little,
|
||||
c_int_width: "32".into(),
|
||||
c_int_width: 32,
|
||||
families: cvs!["unix"],
|
||||
os: "espidf".into(),
|
||||
env: "newlib".into(),
|
||||
|
||||
@@ -13,7 +13,7 @@ pub(crate) fn target() -> Target {
|
||||
|
||||
options: TargetOptions {
|
||||
endian: Endian::Little,
|
||||
c_int_width: "32".into(),
|
||||
c_int_width: 32,
|
||||
families: cvs!["unix"],
|
||||
os: "espidf".into(),
|
||||
env: "newlib".into(),
|
||||
|
||||
@@ -13,7 +13,7 @@ pub(crate) fn target() -> Target {
|
||||
|
||||
options: TargetOptions {
|
||||
endian: Endian::Little,
|
||||
c_int_width: "32".into(),
|
||||
c_int_width: 32,
|
||||
families: cvs!["unix"],
|
||||
os: "espidf".into(),
|
||||
env: "newlib".into(),
|
||||
|
||||
Reference in New Issue
Block a user