rust/compiler/rustc_ty_utils
León Orell Valerian Liehr a144561608
Rollup merge of #131955 - SpriteOvO:riscv-int-arg-attr, r=workingjubilee
Set `signext` or `zeroext` for integer arguments on RISC-V and LoongArch64

This PR contains 3 commits:

- the first one introduces a new function `adjust_for_rust_abi` in `rustc_target`, and moves the x86 specific adjustment code into it;
- the second one adds RISC-V specific adjustment code into it, which sets `signext` or `zeroext` attribute for integer arguments.
- **UPDATE**: added the 3rd commit to apply the same adjustment for LoongArch64.
2024-10-23 22:11:03 +02:00
..
src Rollup merge of #131955 - SpriteOvO:riscv-int-arg-attr, r=workingjubilee 2024-10-23 22:11:03 +02:00
Cargo.toml compiler: Factor rustc_target::abi::* out of ty_utils 2024-10-08 18:24:38 -07:00
messages.ftl s/generator/coroutine/ 2023-10-20 21:14:01 +00:00