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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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