compiler: use is_rustic_abi in ty_utils

expands some conditionals to include different "rustic" ABIs, so that we
actually handle passing args through all "rustic" ABIs
This commit is contained in:
Jubilee Young 2025-03-04 16:50:16 -08:00
parent e81fbe30e6
commit 8a689878ce
3 changed files with 8 additions and 16 deletions

View file

@ -1,11 +0,0 @@
//@ known-bug: #132981
//@compile-flags: -Clink-dead-code=true --crate-type lib
//@ only-x86_64
//@ ignore-windows
// The set of targets this crashes on is really fiddly, because it is deep in our ABI logic. It
// crashes on x86_64-unknown-linux-gnu, and i686-pc-windows-msvc, but not on
// x86_64-pc-windows-msvc. If you are trying to fix this crash, don't pay too much attention to the
// directives.
#![feature(rust_cold_cc)]
pub extern "rust-cold" fn foo(_: [usize; 3]) {}