about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-26 03:09:00 +0100
committerGitHub <noreply@github.com>2020-10-26 03:09:00 +0100
commit147a001fd30b86b2810ff1ac5d1f353316dc0688 (patch)
tree07cb9eae21c4b9280b2b7bb9eea6c59dd3566a02 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent98852320197c44e13be3759fc46bd8add5f24087 (diff)
parent0a91755ff4b6899e1c0675c48b4652e890ce63aa (diff)
downloadrust-147a001fd30b86b2810ff1ac5d1f353316dc0688.tar.gz
rust-147a001fd30b86b2810ff1ac5d1f353316dc0688.zip
Rollup merge of #78126 - shepmaster:aarch64-apple-darwin-valist, r=nagisa
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