japaric/f3

review ABI of "extern" functions

japaric opened this issue · 0 comments

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() -> !.