]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #78126 - shepmaster:aarch64-apple-darwin-valist, r=nagisa
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 26 Oct 2020 02:09:00 +0000 (03:09 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Oct 2020 02:09:00 +0000 (03:09 +0100)
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


Trivial merge