add extern "custom" functions

This commit is contained in:
Folkert de Vries
2025-05-07 20:02:29 +02:00
parent 0a39445252
commit 5f73ce2b7e
34 changed files with 988 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ pub mod wfcheck;
use std::num::NonZero;
pub use check::{check_abi, check_abi_fn_ptr};
pub use check::{check_abi, check_abi_fn_ptr, check_custom_abi};
use rustc_abi::{ExternAbi, VariantIdx};
use rustc_data_structures::fx::{FxHashSet, FxIndexMap};
use rustc_errors::{Diag, ErrorGuaranteed, pluralize, struct_span_code_err};