]> Gentwo Git Trees - linux/.git/commit
rust: document `bindgen` 0.71.0 regression
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 9 Dec 2024 21:25:44 +0000 (22:25 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 9 Jan 2025 23:17:00 +0000 (00:17 +0100)
commitc23d1f7e15d11d6ae6c70824e04ba9ed0299de0a
tree118d7c16ad62eac8eeeec29f4ef302e05c7ac445
parent0c5928deada15a8d075516e6e0d9ee19011bb000
rust: document `bindgen` 0.71.0 regression

`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: https://github.com/rust-lang/rust-bindgen/issues/3039
Link: https://github.com/rust-lang/rust-bindgen/issues/2677
Link: https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#v0711-2024-12-09
Reviewed-by: Fiona Behrens <me@kloenk.dev>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20241209212544.1977065-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
init/Kconfig
scripts/rust_is_available.sh