]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/arm_base.rs
Rollup merge of #86685 - RalfJung:alloc-mut, r=oli-obk
[rust.git] / compiler / rustc_target / src / spec / arm_base.rs
1 use crate::spec::abi::Abi;
2
3 // All the calling conventions trigger an assertion(Unsupported calling convention) in llvm on arm
4 pub fn unsupported_abis() -> Vec<Abi> {
5     vec![
6         Abi::Stdcall { unwind: false },
7         Abi::Stdcall { unwind: true },
8         Abi::Fastcall,
9         Abi::Vectorcall,
10         Abi::Thiscall { unwind: false },
11         Abi::Thiscall { unwind: true },
12         Abi::Win64,
13         Abi::SysV64,
14     ]
15 }