Skip to content

bindgen --version does not work (0.71.0 regression) #3039

Closed
@xry111

Description

@xry111
$ bindgen --version
error: the following required arguments were not provided:
  <HEADER>

Usage: bindgen <FLAGS> <OPTIONS> <HEADER> -- <CLANG_ARGS>...

For more information, try '--help'.

This breaks building Mesa of which the build system checks bindgen rust-version using the command.

It worked fine with 0.70.1, and I don't think it makes too much sense to mandate a header when checking rust-bindgen version. Thus I consider it a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions