blob: d632b17ab83f76b90ad318980eb26bd911cb3be6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
error: invalid signature for `extern "riscv-interrupt-m"` function
--> $DIR/interrupt-invalid-signature.rs:48:43
|
LL | extern "riscv-interrupt-m" fn riscv_m_arg(_byte: u8) {}
| ^^^^^^^^^
|
= note: functions with the "riscv-interrupt-m" ABI cannot have any parameters or return type
help: remove the parameters and return type
|
LL - extern "riscv-interrupt-m" fn riscv_m_arg(_byte: u8) {}
LL + extern "riscv-interrupt-m" fn riscv_m_arg() {}
|
error: invalid signature for `extern "riscv-interrupt-s"` function
--> $DIR/interrupt-invalid-signature.rs:52:43
|
LL | extern "riscv-interrupt-s" fn riscv_s_arg(_byte: u8) {}
| ^^^^^^^^^
|
= note: functions with the "riscv-interrupt-s" ABI cannot have any parameters or return type
help: remove the parameters and return type
|
LL - extern "riscv-interrupt-s" fn riscv_s_arg(_byte: u8) {}
LL + extern "riscv-interrupt-s" fn riscv_s_arg() {}
|
error: invalid signature for `extern "riscv-interrupt-m"` function
--> $DIR/interrupt-invalid-signature.rs:71:48
|
LL | extern "riscv-interrupt-m" fn riscv_m_ret() -> u8 {
| ^^
|
= note: functions with the "riscv-interrupt-m" ABI cannot have any parameters or return type
help: remove the parameters and return type
|
LL - extern "riscv-interrupt-m" fn riscv_m_ret() -> u8 {
LL + extern "riscv-interrupt-m" fn riscv_m_ret() {
|
error: invalid signature for `extern "riscv-interrupt-s"` function
--> $DIR/interrupt-invalid-signature.rs:77:48
|
LL | extern "riscv-interrupt-s" fn riscv_s_ret() -> u8 {
| ^^
|
= note: functions with the "riscv-interrupt-s" ABI cannot have any parameters or return type
help: remove the parameters and return type
|
LL - extern "riscv-interrupt-s" fn riscv_s_ret() -> u8 {
LL + extern "riscv-interrupt-s" fn riscv_s_ret() {
|
error: aborting due to 4 previous errors
|