]> git.lizzy.rs Git - rust.git/blob - src/librustc_target/spec/riscv_base.rs
Rollup merge of #57740 - JakubOnderka:ipv4addr-to_ne_bytes, r=scottmcm
[rust.git] / src / librustc_target / spec / riscv_base.rs
1 use crate::spec::abi::Abi;
2
3 // All the calling conventions trigger an assertion(Unsupported calling
4 // convention) in llvm on RISCV
5 pub fn abi_blacklist() -> Vec<Abi> {
6     vec![
7         Abi::Cdecl,
8         Abi::Stdcall,
9         Abi::Fastcall,
10         Abi::Vectorcall,
11         Abi::Thiscall,
12         Abi::Aapcs,
13         Abi::Win64,
14         Abi::SysV64,
15         Abi::PtxKernel,
16         Abi::Msp430Interrupt,
17         Abi::X86Interrupt,
18         Abi::AmdGpuKernel,
19     ]
20 }