@@ -48,6 +48,7 @@ pub enum Abi {
4848 AvrInterrupt ,
4949 AvrNonBlockingInterrupt ,
5050 CCmseNonSecureCall ,
51+ CCmseNonSecureEntry ,
5152 System {
5253 unwind : bool ,
5354 } ,
@@ -124,6 +125,7 @@ const AbiDatas: &[AbiData] = &[
124125 AbiData { abi : Abi :: AvrInterrupt , name : "avr-interrupt" } ,
125126 AbiData { abi : Abi :: AvrNonBlockingInterrupt , name : "avr-non-blocking-interrupt" } ,
126127 AbiData { abi : Abi :: CCmseNonSecureCall , name : "C-cmse-nonsecure-call" } ,
128+ AbiData { abi : Abi :: CCmseNonSecureEntry , name : "C-cmse-nonsecure-entry" } ,
127129 AbiData { abi : Abi :: System { unwind : false } , name : "system" } ,
128130 AbiData { abi : Abi :: System { unwind : true } , name : "system-unwind" } ,
129131 AbiData { abi : Abi :: RustIntrinsic , name : "rust-intrinsic" } ,
@@ -244,6 +246,10 @@ pub fn is_stable(name: &str) -> Result<(), AbiDisabled> {
244246 feature : sym:: abi_c_cmse_nonsecure_call,
245247 explain : "C-cmse-nonsecure-call ABI is experimental and subject to change" ,
246248 } ) ,
249+ "C-cmse-nonsecure-entry" => Err ( AbiDisabled :: Unstable {
250+ feature : sym:: cmse_nonsecure_entry,
251+ explain : "C-cmse-nonsecure-entry ABI is experimental and subject to change" ,
252+ } ) ,
247253 _ => Err ( AbiDisabled :: Unrecognized ) ,
248254 }
249255}
@@ -286,15 +292,16 @@ impl Abi {
286292 AvrInterrupt => 23 ,
287293 AvrNonBlockingInterrupt => 24 ,
288294 CCmseNonSecureCall => 25 ,
295+ CCmseNonSecureEntry => 26 ,
289296 // Cross-platform ABIs
290- System { unwind : false } => 26 ,
291- System { unwind : true } => 27 ,
292- RustIntrinsic => 28 ,
293- RustCall => 29 ,
294- Unadjusted => 30 ,
295- RustCold => 31 ,
296- RiscvInterruptM => 32 ,
297- RiscvInterruptS => 33 ,
297+ System { unwind : false } => 27 ,
298+ System { unwind : true } => 28 ,
299+ RustIntrinsic => 29 ,
300+ RustCall => 30 ,
301+ Unadjusted => 31 ,
302+ RustCold => 32 ,
303+ RiscvInterruptM => 33 ,
304+ RiscvInterruptS => 34 ,
298305 } ;
299306 debug_assert ! (
300307 AbiDatas
0 commit comments