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