Interrupts and Exceptions must use the C ABI (or the AAPCS one? I think there's no difference between the two when the function takes no arguments).
Everything else can be extern "Rust". I think there's no advantage for using extern "Rust" right now but at least we should be able to change all those pub extern "C" fn main() -> ! to just pub fn main() -> !.
Interrupts and Exceptions must use the C ABI (or the AAPCS one? I think there's no difference between the two when the function takes no arguments).
Everything else can be
extern "Rust"
. I think there's no advantage for usingextern "Rust"
right now but at least we should be able to change all thosepub extern "C" fn main() -> !
to justpub fn main() -> !
.