@rkruppe which ABI is the one for riscv nowadays?
the "unix C ABI" is documented at https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md which llvm and gcc implement but idk what rustc does if that's what you mean. there's a lot of talk about other ABIs (faster interrupts, vector calls, rv32e with its 16 gprs, etc.) but none of them are really as defined yet afaik
I’m gonna use extern "C" and write some assembly
so was wondering what I should target