compiler: Update all targets to the new c_int_width type

This commit is contained in:
Jubilee Young
2025-06-11 00:39:38 -07:00
parent b88c0061c4
commit 87feee9ad5
7 changed files with 7 additions and 7 deletions

View File

@@ -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,

View File

@@ -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(),

View File

@@ -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,

View File

@@ -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

View File

@@ -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(),

View File

@@ -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(),

View File

@@ -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(),