blob: 8aea68e65006cc82003c3b22b2d534941b8711e8 [file] [log] [blame] [edit]
error: invalid signature for `extern "riscv-interrupt-m"` function
--> $DIR/interrupt-invalid-signature.rs:49: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:53: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:72: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:78: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