Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

add a CLI flag to skip translation of static function #222

@gwenzek

Description

@gwenzek

zig translate-c is know also translating code for C static function found in header files.

While this is great when it works it can be a show stopper when it generates code that doesn't pass ast-check making the file not importable at all.

Can we have a flag to skip all static functions ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions