Skip to content

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

Open
@andrewrk

Description

@andrewrk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingImplementing this issue could cause existing code to no longer compile or have different behavior.enhancementSolving this issue will likely involve adding new logic or components to the codebase.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.translate-cC to Zig source translation feature (@cImport)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions