Introduce perma-unstable wasm-c-abi
flag
This commit is contained in:
parent
5bc7b9ac8a
commit
f09c19ac3a
10 changed files with 94 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue