about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-04 00:45:24 +0000
committerbors <bors@rust-lang.org>2023-08-04 00:45:24 +0000
commit60fa393490ef88c79da2a58569795236b4d4c9db (patch)
tree50613e6f4183c4fd5cedf9c5ec2b53a20e9285c0 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent1fe384649a11ea34285a292f0b11827b517c2a30 (diff)
parente43649fdc3946558a94a7ab57d399413fc2bb2b5 (diff)
downloadrust-60fa393490ef88c79da2a58569795236b4d4c9db.tar.gz
rust-60fa393490ef88c79da2a58569795236b4d4c9db.zip
Auto merge of #110833 - compiler-errors:rustc-call-inliner-ice, r=cjgillot
Only unpack tupled args in inliner if we expect args to be unpacked

`"rust-call"` is a strange function abi. sometimes, it expects the arguments to be unpacked by the caller and passed as individual args (closure bodies), and sometimes it does not (user functions annotated with the `"rust-call"` abi).

make sure the mir inliner respects this difference when checking that arguments are compatible, and doesn't try to ICE when we call a `extern "rust-call"` function in a generic context.

fixes #110829
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions