Skip to content

Commit 5abc695

Browse files
authored
Rollup merge of #153035 - Gelbpunkt:ppc64-callconv-llvm-abiname, r=RalfJung
rustc_target: callconv: powerpc64: Use llvm_abiname rather than target_abi for ABI determination Currently on PowerPC64 targets, `llvm_abiname` and `target_abi` will be the same unless we're on AIX. Since `llvm_abiname` is what we pass on to LLVM, it is preferable to use the value of that to determine the calling convention rather than `target_abi`. All PowerPC64 targets set both `llvm_abiname` and `target_abi` to the respective ELF ABIs, with the exception of AIX. This is a non-functional change. Noticed this in the follow-up discussion from rust-lang/rust#150468 and also requested by @RalfJung [here](rust-lang/rust#150468 (comment)). r? @RalfJung
2 parents 7a4fd24 + d21f4bf commit 5abc695

0 file changed

File tree

    0 commit comments

    Comments
     (0)