-
Notifications
You must be signed in to change notification settings - Fork 745
--version no longer works without <HEADER> argument #2677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--version no longer works without <HEADER> argument #2677
Comments
Also hit this while generating shell completions: $ bindgen --generate-shell-completions bash
error: the following required arguments were not provided:
<HEADER>
Usage: bindgen <FLAGS> <OPTIONS> <HEADER> -- <CLANG_ARGS>...
For more information, try '--help'. |
Hey @orhun! How long it will take theoretically to fix this issue (to publish release)? We are blocked with an image generation for actions with this bug and thinking now about what to do next. To pin version of cli or to wait new release... |
Hey @erik-bershel, I'm just an outside contributor so I'm not sure. The PR should be ready to go though. |
Apply patch to fix rust-lang/rust-bindgen#2677 for building mesa.
Apply patch to fix rust-lang/rust-bindgen#2677 for building mesa.
* fix(args): make header argument optional fixes #2677 * refactor(args): avoid using type aliases
@erik-bershel a fresh release is available with the issue fixed |
`bindgen` 0.71.0 regressed [1] on the "`--version` requires header" issue which appared in 0.69.0 first [2] and was fixed in 0.69.1. It has been fixed again in 0.71.1 [3]. Thus document it so that, when we upgrade the minimum past 0.69.0 in the future, we do not forget that we cannot remove the workaround until we arrive at 0.71.1 at least. Link: rust-lang/rust-bindgen#3039 [1] Link: rust-lang/rust-bindgen#2677 [2] Link: https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#v0711-2024-12-09 [3] Signed-off-by: Miguel Ojeda <[email protected]>
`bindgen` 0.71.0 regressed [1] on the "`--version` requires header" issue which appared in 0.69.0 first [2] and was fixed in 0.69.1. It has been fixed again in 0.71.1 [3]. Thus document it so that, when we upgrade the minimum past 0.69.0 in the future, we do not forget that we cannot remove the workaround until we arrive at 0.71.1 at least. Link: rust-lang/rust-bindgen#3039 [1] Link: rust-lang/rust-bindgen#2677 [2] Link: https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#v0711-2024-12-09 [3] Reviewed-by: Fiona Behrens <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
`bindgen` 0.71.0 regressed [1] on the "`--version` requires header" issue which appeared in 0.69.0 first [2] and was fixed in 0.69.1. It has been fixed again in 0.71.1 [3]. Thus document it so that, when we upgrade the minimum past 0.69.0 in the future, we do not forget that we cannot remove the workaround until we arrive at 0.71.1 at least. Link: rust-lang/rust-bindgen#3039 [1] Link: rust-lang/rust-bindgen#2677 [2] Link: https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#v0711-2024-12-09 [3] Reviewed-by: Fiona Behrens <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
`bindgen` 0.71.0 regressed [1] on the "`--version` requires header" issue which appeared in 0.69.0 first [2] and was fixed in 0.69.1. It has been fixed again in 0.71.1 [3]. Thus document it so that, when we upgrade the minimum past 0.69.0 in the future, we do not forget that we cannot remove the workaround until we arrive at 0.71.1 at least. Link: rust-lang/rust-bindgen#3039 [1] Link: rust-lang/rust-bindgen#2677 [2] Link: https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#v0711-2024-12-09 [3] Reviewed-by: Fiona Behrens <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
`bindgen` 0.71.0 regressed [1] on the "`--version` requires header" issue which appeared in 0.69.0 first [2] and was fixed in 0.69.1. It has been fixed again in 0.71.1 [3]. Thus document it so that, when we upgrade the minimum past 0.69.0 in the future, we do not forget that we cannot remove the workaround until we arrive at 0.71.1 at least. Link: rust-lang/rust-bindgen#3039 [1] Link: rust-lang/rust-bindgen#2677 [2] Link: https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#v0711-2024-12-09 [3] Reviewed-by: Fiona Behrens <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Regressed by #2656. Found via mesa@1cc26e8b6657 due to mesonbuild/meson@0f2f87a00347
Previously,
The text was updated successfully, but these errors were encountered: