@@ -48,6 +48,7 @@ pub enum Abi {
4848 AvrInterrupt ,
4949 AvrNonBlockingInterrupt ,
5050 CCmseNonSecureCall ,
51+ CCmseNonSecureEntry ,
5152 System {
5253 unwind : bool ,
5354 } ,
@@ -122,6 +123,7 @@ const AbiDatas: &[AbiData] = &[
122123 AbiData { abi : Abi :: AvrInterrupt , name : "avr-interrupt" } ,
123124 AbiData { abi : Abi :: AvrNonBlockingInterrupt , name : "avr-non-blocking-interrupt" } ,
124125 AbiData { abi : Abi :: CCmseNonSecureCall , name : "C-cmse-nonsecure-call" } ,
126+ AbiData { abi : Abi :: CCmseNonSecureEntry , name : "C-cmse-nonsecure-entry" } ,
125127 AbiData { abi : Abi :: System { unwind : false } , name : "system" } ,
126128 AbiData { abi : Abi :: System { unwind : true } , name : "system-unwind" } ,
127129 AbiData { abi : Abi :: RustIntrinsic , name : "rust-intrinsic" } ,
@@ -242,6 +244,10 @@ pub fn is_stable(name: &str) -> Result<(), AbiDisabled> {
242244 feature : sym:: abi_c_cmse_nonsecure_call,
243245 explain : "C-cmse-nonsecure-call ABI is experimental and subject to change" ,
244246 } ) ,
247+ "C-cmse-nonsecure-entry" => Err ( AbiDisabled :: Unstable {
248+ feature : sym:: cmse_nonsecure_entry,
249+ explain : "C-cmse-nonsecure-entry ABI is experimental and subject to change" ,
250+ } ) ,
245251 _ => Err ( AbiDisabled :: Unrecognized ) ,
246252 }
247253}
@@ -284,15 +290,16 @@ impl Abi {
284290 AvrInterrupt => 23 ,
285291 AvrNonBlockingInterrupt => 24 ,
286292 CCmseNonSecureCall => 25 ,
293+ CCmseNonSecureEntry => 26 ,
287294 // Cross-platform ABIs
288- System { unwind : false } => 26 ,
289- System { unwind : true } => 27 ,
290- RustIntrinsic => 28 ,
291- RustCall => 29 ,
292- Unadjusted => 30 ,
293- RustCold => 31 ,
294- RiscvInterruptM => 32 ,
295- RiscvInterruptS => 33 ,
295+ System { unwind : false } => 27 ,
296+ System { unwind : true } => 28 ,
297+ RustIntrinsic => 29 ,
298+ RustCall => 30 ,
299+ Unadjusted => 31 ,
300+ RustCold => 32 ,
301+ RiscvInterruptM => 33 ,
302+ RiscvInterruptS => 34 ,
296303 } ;
297304 debug_assert ! (
298305 AbiDatas
0 commit comments