Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0ac7cc1

Browse files
authoredFeb 15, 2025
Unrolled build for rust-lang#137056
Rollup merge of rust-lang#137056 - geetanshjuneja:pub, r=RalfJung made check_argument_compat public for use in miri Links to [issue](rust-lang/miri#3842) and it's [PR](rust-lang/miri#4185 (comment)) in miri.
2 parents f77247a + 8769d03 commit 0ac7cc1

File tree

1 file changed

+2
-1
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+2
-1
lines changed
 

‎compiler/rustc_const_eval/src/interpret/call.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
241241
interp_ok(caller == callee)
242242
}
243243

244-
fn check_argument_compat(
244+
/// Returns a `bool` saying whether the two arguments are ABI-compatible.
245+
pub fn check_argument_compat(
245246
&self,
246247
caller_abi: &ArgAbi<'tcx, Ty<'tcx>>,
247248
callee_abi: &ArgAbi<'tcx, Ty<'tcx>>,

0 commit comments

Comments
 (0)
Failed to load comments.