rust/compiler/rustc_target/src
bors 66d6064f9e Auto merge of #134290 - tgross35:windows-i128-callconv, r=bjorn3,wesleywiser
Windows x86: Change i128 to return via the vector ABI

Clang and GCC both return `i128` in xmm0 on windows-msvc and windows-gnu. Currently, Rust returns the type on the stack. Add a calling convention adjustment so we also return scalar `i128`s using the vector ABI, which makes our `i128` compatible with C.

In the future, Clang may change to return `i128` on the stack for its `-msvc` targets (more at [1]). If this happens, the change here will need to be adjusted to only affect MinGW.

Link: https://github.com/rust-lang/rust/issues/134288 (does not fix) [1]

try-job: x86_64-msvc
try-job: x86_64-msvc-ext1
try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
2025-01-28 06:11:13 +00:00
..
asm Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
callconv Auto merge of #134290 - tgross35:windows-i128-callconv, r=bjorn3,wesleywiser 2025-01-28 06:11:13 +00:00
spec Mark all NuttX targets as tier 3 target and support the standard library 2025-01-27 09:23:14 +08:00
json.rs Add gpu-kernel calling convention 2025-01-16 00:26:55 +01:00
lib.rs compiler: Wire {TyAnd,}Layout into rustc_abi 2024-10-11 17:41:52 -07:00
target_features.rs arm: add unstable soft-float target feature 2025-01-07 16:13:43 +01:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00