diff options
| author | bors <bors@rust-lang.org> | 2024-08-18 22:15:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-18 22:15:41 +0000 |
| commit | d0293c6cf22cb37f04ac90a52d1fc259362acc5b (patch) | |
| tree | e2b1f96dc847cd00e10873d4aad1fbe2b1dbc026 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 6de928dce9472b864f4e5d590dd7aa2075cb7551 (diff) | |
| parent | b1493ba5194fcc5cfe4f6315db288e4e18509110 (diff) | |
| download | rust-d0293c6cf22cb37f04ac90a52d1fc259362acc5b.tar.gz rust-d0293c6cf22cb37f04ac90a52d1fc259362acc5b.zip | |
Auto merge of #125854 - beetrees:zst-arg-abi, r=estebank
Move ZST ABI handling to `rustc_target` Currently, target specific handling of ZST function call ABI (specifically passing them indirectly instead of ignoring them) is handled in `rustc_ty_utils`, whereas all other target specific function call ABI handling is located in `rustc_target`. This PR moves the ZST handling to `rustc_target` so that all the target-specific function call ABI handling is in one place. In the process of doing so, this PR fixes #125850 by ensuring that ZST arguments are always correctly ignored in the x86-64 `"sysv64"` ABI; any code which would be affected by this fix would have ICEd before this PR. Tests are also added using `#[rustc_abi(debug)]` to ensure this behaviour does not regress. Fixes #125850
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
