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

upstream Aro and use it for translate-c instead of clang #16268

Open
andrewrk opened this issue Jun 29, 2023 · 0 comments
Open

upstream Aro and use it for translate-c instead of clang #16268

andrewrk opened this issue Jun 29, 2023 · 0 comments
Labels
breaking Implementing this issue could cause existing code to no longer compile or have different behavior. enhancement Solving this issue will likely involve adding new logic or components to the codebase. proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. translate-c C to Zig source translation feature (@cImport)
Milestone

Comments

@andrewrk
Copy link
Member

Aro is a C compiler written in Zig by @Vexu and @ehaas.

This issue is for transitioning Zig's translate-c feature from being based on Clang to being based on Aro.

The transition will probably need to be done a little at a time, so probably a flag will be introduced to support both backends for a period of time. Another option would be that -Denable-llvm makes it always use Clang and not passing this option makes it always use Aro.

@andrewrk andrewrk added enhancement Solving this issue will likely involve adding new logic or components to the codebase. contributor friendly This issue is limited in scope and/or knowledge of Zig internals. breaking Implementing this issue could cause existing code to no longer compile or have different behavior. translate-c C to Zig source translation feature (@cImport) labels Jun 29, 2023
@andrewrk andrewrk added this to the 0.14.0 milestone Jun 29, 2023
@andrewrk andrewrk added proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. and removed contributor friendly This issue is limited in scope and/or knowledge of Zig internals. labels Jul 3, 2023
@Vexu Vexu mentioned this issue Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Implementing this issue could cause existing code to no longer compile or have different behavior. enhancement Solving this issue will likely involve adding new logic or components to the codebase. proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. translate-c C to Zig source translation feature (@cImport)
Projects
None yet
Development

No branches or pull requests

1 participant