Support several Rust toolchain versions
Status from this message: Applied into `rust-next` -- thanks everyone!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 2 repliesApplied
- v113 patches 26 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | rust: macros: indent list item in `paste!`'s docsrust/ | +1 | 0 replies | |
| 2/13 | rust: init: simplify from `map_err` to `inspect_err`rust/ | +4 | 0 replies | |
| 3/13 | rust: allow `dead_code` for never constructed bindingsrust/ rust/ | +2 | 0 replies | |
| 4/13 | rust: relax most deny-level lints to warningsMakefile rust/ | +15 | 0 replies | |
| 5/13 | rust: simplify Clippy warning flags setMakefile | +2 | 0 replies | |
| 6/13 | rust: start supporting several compiler versionsDocumentation/ Documentation/ scripts/ +1 more | +8 | 0 replies | |
| 7/13 | rust: avoid assuming a particular `bindgen` buildDocumentation/ scripts/ | +24 | 0 replies | |
| 8/13 | rust: work around `bindgen` 0.69.0 issueinit/ scripts/ | +9 | 0 replies | |
| 9/13 | rust: start supporting several `bindgen` versionsDocumentation/ scripts/ scripts/ | +4 | 0 replies | |
| 10/13 | rust: warn about `bindgen` versions 0.66.0 and 0.66.1scripts/ scripts/ scripts/ | +38 | 0 replies | |
| 11/13 | kbuild: rust: add `rustc-version` supportinit/ scripts/ scripts/ +1 more | +68 | 1 reply | |
| 12/13 | rust: support the new `-Zub-checks` flagMakefile lib/ | +25 | 0 replies | |
| 13/13 | docs: rust: quick-start: add section on Linux distributionsDocumentation/ Documentation/ | +81 | 0 replies |
Reviews trailers per patch
8 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Björn Roy Baron | Finn Behrens | Benno Lossin | Andreas Hindborg |
|---|---|---|---|---|
| 1/13 | R-b | R-b | T-b | T-b |
| 2/13 | T-b | T-b | ||
| 3/13 | R-b | R-b | T-b | T-b |
| 4/13 | R-b | T-b | T-b | |
| 5/13 | R-b | T-b | T-b | |
| 6/13 | R-b | T-b | T-b | |
| 7/13 | T-b | T-b | ||
| 8/13 | R-b | T-b | T-b | |
| 9/13 | T-b | T-b | ||
| 10/13 | ||||
| 11/13 | R-b | T-b | T-b | |
| 12/13 | R-b | T-b | T-b | |
| 13/13 | T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v2 00/13] Support several Rust toolchain versions
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-bys 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/[email protected]/
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