Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly define va_arg and va_list for aarch64-apple-darwin #78126

Merged
merged 2 commits into from
Oct 26, 2020

Commits on Oct 24, 2020

  1. Configuration menu
    Copy the full SHA
    c6ab758 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. 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 rust-lang#78092
    
    [Apple]: https://developer.apple.com/documentation/xcode/writing_arm64_code_for_apple_platforms
    shepmaster committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    0a91755 View commit details
    Browse the repository at this point in the history