Introduce perma-unstable wasm-c-abi flag
This commit is contained in:
@@ -311,7 +311,7 @@ fn fn_sig_for_fn_abi<'tcx>(
|
||||
#[inline]
|
||||
fn conv_from_spec_abi(tcx: TyCtxt<'_>, abi: SpecAbi, c_variadic: bool) -> Conv {
|
||||
use rustc_target::spec::abi::Abi::*;
|
||||
match tcx.sess.target.adjust_abi(abi, c_variadic) {
|
||||
match tcx.sess.target.adjust_abi(&tcx, abi, c_variadic) {
|
||||
RustIntrinsic | Rust | RustCall => Conv::Rust,
|
||||
|
||||
// This is intentionally not using `Conv::Cold`, as that has to preserve
|
||||
|
||||
Reference in New Issue
Block a user