Hi all, A few things improved here and there, and rebased on top of `rust-next`. The changelog is attached to each patch. I kept the `Tested-by`s since most of the changes are on documentation or comments, though I did remove them on the patch that changed the most just in case (even for that one, I think Benno's and Andreas' setup would not have made a difference). I plan to put this series into `rust-next` very soon so that it goes into the merge window. Previous cover letter: v1: https://lore.kernel.org/rust-for-linux/20240701183625.665574-1-ojeda@xxxxxxxxxx/ Thanks! Cheers, Miguel Miguel Ojeda (13): rust: macros: indent list item in `paste!`'s docs rust: init: simplify from `map_err` to `inspect_err` rust: allow `dead_code` for never constructed bindings rust: relax most deny-level lints to warnings rust: simplify Clippy warning flags set rust: start supporting several compiler versions rust: avoid assuming a particular `bindgen` build rust: work around `bindgen` 0.69.0 issue rust: start supporting several `bindgen` versions rust: warn about `bindgen` versions 0.66.0 and 0.66.1 kbuild: rust: add `rustc-version` support rust: support the new `-Zub-checks` flag docs: rust: quick-start: add section on Linux distributions Documentation/process/changes.rst | 9 +- Documentation/rust/quick-start.rst | 136 +++++++++++++++++------ Makefile | 31 +++--- init/Kconfig | 11 +- lib/Kconfig.debug | 18 +++ rust/Makefile | 4 +- rust/bindings/lib.rs | 1 + rust/kernel/init.rs | 13 +-- rust/macros/lib.rs | 2 +- rust/uapi/lib.rs | 1 + scripts/Kconfig.include | 6 + scripts/Makefile.compiler | 4 + scripts/rust_is_available.sh | 33 +++--- scripts/rust_is_available_bindgen_0_66.h | 2 + scripts/rust_is_available_test.py | 59 ++++++---- scripts/rustc-version.sh | 52 +++++++++ 16 files changed, 274 insertions(+), 108 deletions(-) create mode 100644 scripts/rust_is_available_bindgen_0_66.h create mode 100755 scripts/rustc-version.sh base-commit: fc6e66f4696b63b8a2645a2bcea407cb04bd0666 -- 2.45.2