| warning: unstable feature specified for `-Ctarget-feature`: `unaligned-scalar-mem` |
| | |
| = note: this feature is not stably supported; its behavior can change in the future |
| |
| error[E0703]: invalid ABI: found `riscv-interrupt` |
| --> $DIR/riscv-discoverability-guidance.rs:19:8 |
| | |
| LL | extern "riscv-interrupt" fn isr() {} |
| | ^^^^^^^^^^^^^^^^^ invalid ABI |
| | |
| = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions |
| help: there's a similarly named valid ABI `riscv-interrupt-m` |
| | |
| LL | extern "riscv-interrupt-m" fn isr() {} |
| | ++ |
| |
| error[E0703]: invalid ABI: found `riscv-interrupt-u` |
| --> $DIR/riscv-discoverability-guidance.rs:24:8 |
| | |
| LL | extern "riscv-interrupt-u" fn isr_U() {} |
| | ^^^^^^^^^^^^^^^^^^^ invalid ABI |
| | |
| = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions |
| help: there's a similarly named valid ABI `riscv-interrupt-m` |
| | |
| LL - extern "riscv-interrupt-u" fn isr_U() {} |
| LL + extern "riscv-interrupt-m" fn isr_U() {} |
| | |
| |
| error: aborting due to 2 previous errors; 1 warning emitted |
| |
| For more information about this error, try `rustc --explain E0703`. |