Directly calling "msp430-interrupt" fn
should also be invalid
#132839
Labels
A-ABI
Area: Concerning the application binary interface (ABI)
A-hardware-interrupts
Area: Code for handling the "interrupt ABI" of various processors
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
O-msp430
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see rustc reject the erroneous code somewhere before final LLVM lowering, because the notion of "calling" an interrupt still seems nonsensical to me, no matter what its signature is.
Instead, this happened:
Meta
rustc --version --verbose
:@rustbot label: +A-hardware-interrupts +A-LLVM +O-msp430 +A-ABI +T-compiler
Related Issues
msp430-interrupt
calling convention/ABI #38487"x86-interrupt" fn
should be invalid #132834extern "riscv-interrupt-{m,s}" fn
... compiles? #132836The text was updated successfully, but these errors were encountered: