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

Support defining C compatible variadic functions #57760

Merged
merged 7 commits into from
Feb 28, 2019

Commits on Feb 27, 2019

  1. Configuration menu
    Copy the full SHA
    cd56472 View commit details
    Browse the repository at this point in the history
  2. Support defining C compatible variadic functions

    Add support for defining C compatible variadic functions in unsafe rust
    with extern "C".
    dlrobertson committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    58147d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    210c607 View commit details
    Browse the repository at this point in the history
  4. Add c_variadic to the unstable-book

     - Add the c_variadic language feature
     - Add the c_variadic library feature
    dlrobertson committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    1a6e9e2 View commit details
    Browse the repository at this point in the history
  5. Refactor FunctionCx::codgen_terminator

     - Move closures defined in codegen_terminator into a separate helper
       structure and implementation.
     - Create helper functions for each of the complex match arms on the
       terminators kind in codegen_terminator.
    dlrobertson committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    a618ad6 View commit details
    Browse the repository at this point in the history
  6. Rename variadic to c_variadic

    Function signatures with the `variadic` member set are actually
    C-variadic functions. Make this a little more explicit by renaming the
    `variadic` boolean value, `c_variadic`.
    dlrobertson committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    08bd4ff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f7dd438 View commit details
    Browse the repository at this point in the history