Skip to content

Building with Zig 0.16 chokes on vendored libfmt #464

@directmusic

Description

@directmusic

Building clap-wrapper with the latest version of the Zig compiler (v0.16) no longer works due to format.h in the vendored libfmt not including stdlib.h. It is unable to find malloc/free.

Is there any opposition to updating the vendored libfmt? Or as a minimal change, would it be possible to pull in a change to add <cstdlib> / <stdlib.h> into the format header?

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