about summary refs log tree commit diff
path: root/compiler/rustc_query_impl
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-20 17:09:11 +0000
committerbors <bors@rust-lang.org>2022-12-20 17:09:11 +0000
commitd6da428f343ab811b2b132364360ba13ff05830c (patch)
treec4a214b6011bc7dc2f5b583625f250c3df8284d1 /compiler/rustc_query_impl
parent65bd2a6a73d6a74fb1266a1d96b23de8810a5fb2 (diff)
parenteb22d70aed39614dd9318e3fa1bf91846d74b8aa (diff)
downloadrust-d6da428f343ab811b2b132364360ba13ff05830c.tar.gz
rust-d6da428f343ab811b2b132364360ba13ff05830c.zip
Auto merge of #105381 - uweigand:s390x-ffi-vaarg, r=nikic
Implement va_list and va_arg for s390x FFI

Following the s390x ELF ABI and based on the clang implementation, provide appropriate definitions of va_list in library/core/src/ffi/mod.rs and va_arg handling in compiler/rustc_codegen_llvm/src/va_arg.rs.

Fixes the following test cases on s390x:
src/test/run-make-fulldeps/c-link-to-rust-va-list-fn src/test/ui/abi/variadic-ffi.rs

Fixes https://github.com/rust-lang/rust/issues/84628.
Diffstat (limited to 'compiler/rustc_query_impl')
0 files changed, 0 insertions, 0 deletions