Closed
Description
main.rs:
#![crate_type="lib"]
pub extern "stdcall" fn sup(_: isize) -> isize {
0
}
Triggers an LLVM assertion when targeting Android:
$ x86_64-apple-darwin/stage2/bin/rustc main.rs --target=arm-linux-androideabi
Unsupported calling convention
UNREACHABLE executed at /Users/tamird/src/rust/src/llvm/lib/Target/ARM/ARMISelLowering.cpp:1273!
Abort trap: 6