Skip to content

Support several Rust toolchain versions

Miguel Ojeda linux-doc linux-kbuild linux-patches lkml rust-for-linux workflows 2 versions – Applied

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

  1. v2 Latest13 patches 2 repliesApplied
  2. v113 patches 26 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/13rust: macros: indent list item in `paste!`'s docsrust/macros/lib.rs+1 -10 replies
2/13rust: init: simplify from `map_err` to `inspect_err`rust/kernel/init.rs+4 -90 replies
3/13rust: allow `dead_code` for never constructed bindingsrust/bindings/lib.rs rust/uapi/lib.rs+2 -00 replies
4/13rust: relax most deny-level lints to warningsMakefile rust/Makefile+15 -130 replies
5/13rust: simplify Clippy warning flags setMakefile+2 -40 replies
6/13rust: start supporting several compiler versionsDocumentation/process/changes.rst Documentation/rust/quick-start.rst scripts/rust_is_available.sh +1 more+8 -240 replies
7/13rust: avoid assuming a particular `bindgen` buildDocumentation/rust/quick-start.rst scripts/rust_is_available_test.py+24 -240 replies
8/13rust: work around `bindgen` 0.69.0 issueinit/Kconfig scripts/rust_is_available.sh+9 -20 replies
9/13rust: start supporting several `bindgen` versionsDocumentation/rust/quick-start.rst scripts/rust_is_available.sh scripts/rust_is_available_test.py+4 -160 replies
10/13rust: warn about `bindgen` versions 0.66.0 and 0.66.1scripts/rust_is_available.sh scripts/rust_is_available_bindgen_0_66.h scripts/rust_is_available_test.py+38 -30 replies
11/13kbuild: rust: add `rustc-version` supportinit/Kconfig scripts/Kconfig.include scripts/Makefile.compiler +1 more+68 -01 reply
12/13rust: support the new `-Zub-checks` flagMakefile lib/Kconfig.debug+25 -20 replies
13/13docs: rust: quick-start: add section on Linux distributionsDocumentation/process/changes.rst Documentation/rust/quick-start.rst+81 -170 replies

Reviews trailers per patch

8 of 13 patches have a Reviewed-by or Acked-by.

PatchBjörn Roy BaronFinn BehrensBenno LossinAndreas Hindborg
1/13R-b R-b T-b T-b
2/13T-b T-b
3/13R-b R-b T-b T-b
4/13R-b T-b T-b
5/13R-b T-b T-b
6/13R-b T-b T-b
7/13T-b T-b
8/13R-b T-b T-b
9/13T-b T-b
10/13
11/13R-b T-b T-b
12/13R-b T-b T-b
13/13T-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.

Read the v2 thread

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