about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2020-10-19 21:48:58 -0400
committerJake Goulding <jake.goulding@gmail.com>2020-10-25 21:37:01 -0400
commit0a91755ff4b6899e1c0675c48b4652e890ce63aa (patch)
tree13c2c974b10287de2d427dad4a22692cd5db2106 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentc6ab758e54bd509f75df7a21fd72aa740ac5a4b0 (diff)
downloadrust-0a91755ff4b6899e1c0675c48b4652e890ce63aa.tar.gz
rust-0a91755ff4b6899e1c0675c48b4652e890ce63aa.zip
Properly define va_arg and va_list for aarch64-apple-darwin
From [Apple][]:

> Because of these changes, the type `va_list` is an alias for `char*`,
> and not for the struct type in the generic procedure call standard.

With this change `/x.py test --stage 1 src/test/ui/abi/variadic-ffi`
passes.

Fixes #78092

[Apple]: https://developer.apple.com/documentation/xcode/writing_arm64_code_for_apple_platforms
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions