Skip to content

--wrap-static-fns doesn't output anything if it doesn't find static functions #3370

@gfxstrand

Description

@gfxstrand

On the surface, this looks like fine behavior. If you don't find anything to put in the file, don't write the file. However, this wreaks havoc on build systems because now whether or not a file is output at all depends on the contents of that file. If bindgen is told to output a file, it should output a file, even if that file is empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions