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

std.os.uefi: use std.os.uefi.cc instead of .C as calling convention #16339

Merged
merged 2 commits into from
Jul 10, 2023

Commits on Jul 8, 2023

  1. std.os.uefi: use std.os.uefi.cc instead of .C as calling convention

    I tested this and this definitely compiles and these
    changes were done programmatically but if there's still anything wrong
    it shouldn't be hard to fix.
    With this change it's going to be very easy to make further adjustments
    to the calling conventions of all these external UEFI functions.
    
    Closes ziglang#16309
    wooster0 committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    9be1a3f View commit details
    Browse the repository at this point in the history
  2. Sema: infrastructure for supporting more than .C callconv for variadi…

    …c functions
    
    Now you can add new calling conventions that you confirmed to work with
    variadic functions simply in a single place and the rest will work
    automatically.
    wooster0 committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    026c63d View commit details
    Browse the repository at this point in the history