@@ -5,6 +5,7 @@ LL | u128: extern "C-cmse-nonsecure-call" fn() -> u128,
5
5
| ^^^^ this type doesn't fit in the available registers
6
6
|
7
7
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
8
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
8
9
9
10
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
10
11
--> $DIR/return-via-stack.rs:36:50
@@ -13,6 +14,7 @@ LL | i128: extern "C-cmse-nonsecure-call" fn() -> i128,
13
14
| ^^^^ this type doesn't fit in the available registers
14
15
|
15
16
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
17
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
16
18
17
19
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
18
20
--> $DIR/return-via-stack.rs:25:48
@@ -21,6 +23,7 @@ LL | f1: extern "C-cmse-nonsecure-call" fn() -> ReprCU64,
21
23
| ^^^^^^^^ this type doesn't fit in the available registers
22
24
|
23
25
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
26
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
24
27
25
28
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
26
29
--> $DIR/return-via-stack.rs:26:48
@@ -29,6 +32,7 @@ LL | f2: extern "C-cmse-nonsecure-call" fn() -> ReprCBytes,
29
32
| ^^^^^^^^^^ this type doesn't fit in the available registers
30
33
|
31
34
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
35
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
32
36
33
37
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
34
38
--> $DIR/return-via-stack.rs:27:48
@@ -37,6 +41,7 @@ LL | f3: extern "C-cmse-nonsecure-call" fn() -> U64Compound,
37
41
| ^^^^^^^^^^^ this type doesn't fit in the available registers
38
42
|
39
43
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
44
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
40
45
41
46
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
42
47
--> $DIR/return-via-stack.rs:28:48
@@ -45,6 +50,7 @@ LL | f4: extern "C-cmse-nonsecure-call" fn() -> ReprCAlign16,
45
50
| ^^^^^^^^^^^^ this type doesn't fit in the available registers
46
51
|
47
52
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
53
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
48
54
49
55
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
50
56
--> $DIR/return-via-stack.rs:29:48
@@ -53,6 +59,7 @@ LL | f5: extern "C-cmse-nonsecure-call" fn() -> [u8; 5],
53
59
| ^^^^^^^ this type doesn't fit in the available registers
54
60
|
55
61
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
62
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
56
63
57
64
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
58
65
--> $DIR/return-via-stack.rs:51:48
@@ -61,6 +68,7 @@ LL | f1: extern "C-cmse-nonsecure-call" fn() -> ReprRustUnionU64,
61
68
| ^^^^^^^^^^^^^^^^ this type doesn't fit in the available registers
62
69
|
63
70
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
71
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
64
72
65
73
error[E0798]: return value of `"C-cmse-nonsecure-call"` function too large to pass via registers
66
74
--> $DIR/return-via-stack.rs:52:48
@@ -69,6 +77,7 @@ LL | f2: extern "C-cmse-nonsecure-call" fn() -> ReprCUnionU64,
69
77
| ^^^^^^^^^^^^^ this type doesn't fit in the available registers
70
78
|
71
79
= note: functions with the `"C-cmse-nonsecure-call"` ABI must pass their result via the available return registers
80
+ = note: the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
72
81
73
82
error: aborting due to 9 previous errors
74
83
0 commit comments