Rollup merge of #150555 - adamgreig:armv7-thumb-interwork, r=chenyukang

Enable thumb interworking on ARMv7A/R and ARMv8R bare-metal targets

This flag enables the `#[instruction_set(arm::t32)]` for the armv7a/armv7r/armv8r targets, which all support Thumb interwork but were missing this flag.

Target maintainers are `@chrisnc,` `@rust-lang/arm-maintainers,` `@rust-embedded/arm` (including me).
This commit is contained in:
Jonathan Brouwer 2026-01-01 02:47:21 +01:00 committed by GitHub
commit 767e7dae25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 7 additions and 0 deletions

View file

@ -31,6 +31,7 @@ pub(crate) fn target() -> Target {
emit_debug_gdb_scripts: false,
// GCC defaults to 8 for arm-none here.
c_enum_min_bits: Some(8),
has_thumb_interworking: true,
..Default::default()
},
}

View file

@ -32,6 +32,7 @@ pub(crate) fn target() -> Target {
emit_debug_gdb_scripts: false,
// GCC defaults to 8 for arm-none here.
c_enum_min_bits: Some(8),
has_thumb_interworking: true,
..Default::default()
},
}

View file

@ -32,6 +32,7 @@ pub(crate) fn target() -> Target {
panic_strategy: PanicStrategy::Abort,
emit_debug_gdb_scripts: false,
c_enum_min_bits: Some(8),
has_thumb_interworking: true,
..Default::default()
};
Target {

View file

@ -24,6 +24,7 @@ pub(crate) fn target() -> Target {
emit_debug_gdb_scripts: false,
// GCC defaults to 8 for arm-none here.
c_enum_min_bits: Some(8),
has_thumb_interworking: true,
..Default::default()
};
Target {

View file

@ -29,6 +29,7 @@ pub(crate) fn target() -> Target {
emit_debug_gdb_scripts: false,
// GCC defaults to 8 for arm-none here.
c_enum_min_bits: Some(8),
has_thumb_interworking: true,
..Default::default()
},
}

View file

@ -30,6 +30,7 @@ pub(crate) fn target() -> Target {
emit_debug_gdb_scripts: false,
// GCC defaults to 8 for arm-none here.
c_enum_min_bits: Some(8),
has_thumb_interworking: true,
..Default::default()
},
}

View file

@ -39,6 +39,7 @@ pub(crate) fn target() -> Target {
emit_debug_gdb_scripts: false,
// GCC defaults to 8 for arm-none here.
c_enum_min_bits: Some(8),
has_thumb_interworking: true,
..Default::default()
},
}