diff options
| author | Skgland <3877590+Skgland@users.noreply.github.com> | 2025-04-06 21:32:58 +0200 |
|---|---|---|
| committer | Bennet Bleßmann <3877590+Skgland@users.noreply.github.com> | 2025-04-06 21:32:58 +0200 |
| commit | 5eb535c568de730a36bbf96f0ec1163942301b15 (patch) | |
| tree | 45cbe08c90f631d2985e2ee53072c06723a05c9a /compiler/rustc_ty_utils/src | |
| parent | 175dcc7773d65c1b1542c351392080f48c05799f (diff) | |
| download | rust-5eb535c568de730a36bbf96f0ec1163942301b15.tar.gz rust-5eb535c568de730a36bbf96f0ec1163942301b15.zip | |
remove compiler support for `extern "rust-intrinsic"` blocks
Diffstat (limited to 'compiler/rustc_ty_utils/src')
| -rw-r--r-- | compiler/rustc_ty_utils/src/abi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_ty_utils/src/abi.rs b/compiler/rustc_ty_utils/src/abi.rs index 48d5a4a0fcb..3d4ab33240a 100644 --- a/compiler/rustc_ty_utils/src/abi.rs +++ b/compiler/rustc_ty_utils/src/abi.rs @@ -244,7 +244,7 @@ fn fn_sig_for_fn_abi<'tcx>( fn conv_from_spec_abi(tcx: TyCtxt<'_>, abi: ExternAbi, c_variadic: bool) -> Conv { use rustc_abi::ExternAbi::*; match tcx.sess.target.adjust_abi(abi, c_variadic) { - RustIntrinsic | Rust | RustCall => Conv::Rust, + Rust | RustCall => Conv::Rust, // This is intentionally not using `Conv::Cold`, as that has to preserve // even SIMD registers, which is generally not a good trade-off. @@ -660,7 +660,7 @@ fn fn_abi_adjust_for_abi<'tcx>( let tcx = cx.tcx(); if abi.is_rustic_abi() { - fn_abi.adjust_for_rust_abi(cx, abi); + fn_abi.adjust_for_rust_abi(cx); // Look up the deduced parameter attributes for this function, if we have its def ID and // we're optimizing in non-incremental mode. We'll tag its parameters with those attributes |
