Skip to content

Commit f8deb15

Browse files
fixup! tests: Update and bless cmse-nonsecure ABI tests
1 parent 9c46666 commit f8deb15

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/ui/cmse-nonsecure/cmse-nonsecure-call/gate_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
fn main() {
33
let non_secure_function = unsafe {
44
core::mem::transmute::<usize, extern "C-cmse-nonsecure-call" fn(i32, i32, i32, i32) -> i32>(
5-
//~^ ERROR [E0570]
6-
//~| ERROR [E0658]
5+
//~^ ERROR: is not a supported ABI for the current target [E0570]
6+
//~| ERROR: ABI is experimental and subject to change [E0658]
77
0x10000004,
88
)
99
};

tests/ui/cmse-nonsecure/cmse-nonsecure-entry/gate_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
#[no_mangle]
44
pub extern "C-cmse-nonsecure-entry" fn entry_function(input: u32) -> u32 {
5-
//~^ ERROR [E0570]
6-
//~| ERROR [E0658]
5+
//~^ ERROR: is not a supported ABI for the current target [E0570]
6+
//~| ERROR: ABI is experimental and subject to change [E0658]
77
input + 6
88
}
99

0 commit comments

Comments
 (0)