Files
rust/compiler/rustc_target
Jacob Pratt 4e27adb224 Rollup merge of #161697 - folkertdev:complex-sparc64-powerpc64, r=JohnTitor
make `Complex` ABI-compatible on sparc64 and powerpc64

tracking issue: https://github.com/rust-lang/rust/issues/154023

Make the ABI for `Complex` match C for two slightly more involved targets.

For Sparc64 the implementation matches GCC and Clang 24 and up. In https://github.com/llvm/llvm-project/pull/215015 a bug with how small complex numbers are passed was fixed.

For powerpc64 we match Clang exactly (and Clang is compatible with GCC for this target).

cc @beetrees @Gelbpunkt
2026-09-07 04:06:30 -04:00
..
…

rustc_target contains some very low-level details that are specific to different compilation targets and so forth.

For more information about how rustc works, see the rustc dev guide.