diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2026-04-06 01:52:57 +0200 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-04-07 10:00:24 +0200 |
| commit | 93553d9922b07555344095b5d9202a3f5b84541c (patch) | |
| tree | b6fb9841b40c235fdbc0ec21caeb78eb6f12a0a7 /init/Kconfig | |
| parent | 276ed30c558ef890ebcf8b28d9979ac16be30d4c (diff) | |
| download | lwn-93553d9922b07555344095b5d9202a3f5b84541c.tar.gz lwn-93553d9922b07555344095b5d9202a3f5b84541c.zip | |
rust: kbuild: remove "dummy parameter" workaround for `bindgen` < 0.71.1
Until the version bump of `bindgen`, we needed to pass a dummy parameter
to avoid failing the `--version` call.
Thus remove it.
Reviewed-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260405235309.418950-22-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'init/Kconfig')
| -rw-r--r-- | init/Kconfig | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig index f9fac458e4d4..d9b795f70a38 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -2211,12 +2211,7 @@ config RUSTC_VERSION_TEXT config BINDGEN_VERSION_TEXT string depends on RUST - # The dummy parameter `workaround-for-0.69.0` is required to support 0.69.0 - # (https://github.com/rust-lang/rust-bindgen/pull/2678) and 0.71.0 - # (https://github.com/rust-lang/rust-bindgen/pull/3040). It can be removed - # when the minimum version is upgraded past the latter (0.69.1 and 0.71.1 - # both fixed the issue). - default "$(shell,$(BINDGEN) --version workaround-for-0.69.0 2>/dev/null)" + default "$(shell,$(BINDGEN) --version 2>/dev/null)" # # Place an empty function call at each tracepoint site. Can be |
