rust/tests/ui/cmse-nonsecure/cmse-nonsecure-call/params-via-stack.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
2.4 KiB
Plaintext
Raw Normal View History

2024-07-17 09:47:03 -05:00
error[E0798]: arguments for `"C-cmse-nonsecure-call"` function too large to pass via registers
2024-07-18 07:32:10 -05:00
--> $DIR/params-via-stack.rs:17:63
|
2024-07-18 07:32:10 -05:00
LL | f1: extern "C-cmse-nonsecure-call" fn(u32, u32, u32, u32, x: u32, y: u32),
| ^^^^^^^^^^^^^^ these arguments don't fit in the available registers
|
2024-07-17 09:47:03 -05:00
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass all their arguments via the 4 32-bit available argument registers
2024-07-17 09:47:03 -05:00
error[E0798]: arguments for `"C-cmse-nonsecure-call"` function too large to pass via registers
2024-07-18 07:32:10 -05:00
--> $DIR/params-via-stack.rs:18:63
|
2024-07-17 09:47:03 -05:00
LL | f2: extern "C-cmse-nonsecure-call" fn(u32, u32, u32, u16, u16),
2024-07-18 07:32:10 -05:00
| ^^^ this argument doesn't fit in the available registers
|
2024-07-17 09:47:03 -05:00
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass all their arguments via the 4 32-bit available argument registers
2024-07-17 09:47:03 -05:00
error[E0798]: arguments for `"C-cmse-nonsecure-call"` function too large to pass via registers
2024-07-18 07:32:10 -05:00
--> $DIR/params-via-stack.rs:19:53
|
2024-07-17 09:47:03 -05:00
LL | f3: extern "C-cmse-nonsecure-call" fn(u32, u64, u32),
2024-07-18 07:32:10 -05:00
| ^^^ this argument doesn't fit in the available registers
|
2024-07-17 09:47:03 -05:00
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass all their arguments via the 4 32-bit available argument registers
2024-07-17 09:47:03 -05:00
error[E0798]: arguments for `"C-cmse-nonsecure-call"` function too large to pass via registers
2024-07-18 07:32:10 -05:00
--> $DIR/params-via-stack.rs:20:58
|
2024-07-17 09:47:03 -05:00
LL | f4: extern "C-cmse-nonsecure-call" fn(AlignRelevant, u32),
2024-07-18 07:32:10 -05:00
| ^^^ this argument doesn't fit in the available registers
|
2024-07-17 09:47:03 -05:00
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass all their arguments via the 4 32-bit available argument registers
2024-07-17 09:47:03 -05:00
error[E0798]: arguments for `"C-cmse-nonsecure-call"` function too large to pass via registers
--> $DIR/params-via-stack.rs:21:43
|
2024-07-17 09:47:03 -05:00
LL | f5: extern "C-cmse-nonsecure-call" fn([u32; 5]),
2024-07-18 07:32:10 -05:00
| ^^^^^^^^ this argument doesn't fit in the available registers
|
2024-07-17 09:47:03 -05:00
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass all their arguments via the 4 32-bit available argument registers
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0798`.