diff options
| author | daxpedda <daxpedda@gmail.com> | 2024-02-27 23:06:44 +0100 |
|---|---|---|
| committer | daxpedda <daxpedda@gmail.com> | 2024-03-10 09:00:01 +0100 |
| commit | f09c19ac3a514a0f74e25443f48898f80bde561c (patch) | |
| tree | 47cea8b1b80cf11cc4e6e9271b398517efeaea0b /compiler/rustc_ty_utils/src | |
| parent | 5bc7b9ac8ace5312e1d2cdc2722715cf58d4f926 (diff) | |
Introduce perma-unstable `wasm-c-abi` flag
Diffstat (limited to 'compiler/rustc_ty_utils/src')
| -rw-r--r-- | compiler/rustc_ty_utils/src/abi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/abi.rs b/compiler/rustc_ty_utils/src/abi.rs index a5328baadb5..71bcf898cea 100644 --- a/compiler/rustc_ty_utils/src/abi.rs +++ b/compiler/rustc_ty_utils/src/abi.rs @@ -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 |
