remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsics
This commit is contained in:
parent
e9f9594913
commit
cc3df0af7b
25 changed files with 179 additions and 170 deletions
|
@ -1677,10 +1677,7 @@ fn compute_sig_of_foreign_fn_decl<'tcx>(
|
|||
|
||||
// Feature gate SIMD types in FFI, since I am not sure that the
|
||||
// ABIs are handled at all correctly. -huonw
|
||||
if abi != abi::Abi::RustIntrinsic
|
||||
&& abi != abi::Abi::PlatformIntrinsic
|
||||
&& !tcx.features().simd_ffi
|
||||
{
|
||||
if abi != abi::Abi::RustIntrinsic && !tcx.features().simd_ffi {
|
||||
let check = |ast_ty: &hir::Ty<'_>, ty: Ty<'_>| {
|
||||
if ty.is_simd() {
|
||||
let snip = tcx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue