mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
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
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.