Enable rustdoc tests for the macros crate
Status from this message: Applied to `rust-next` -- thanks Ethan!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 1 replyApplied
- v24 patches 3 repliesSuperseded
- v14 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Remove one more noisy empty line in the macros doctest
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | kbuild: rust: Expand rusttest target for macrosrust/ | +25 | 0 replies | |
| 2/4 | rust: Enable test for macros::modulerust/ rust/ | +11 | 0 replies | |
| 3/4 | rust: macros: Enable use from macro_rules!rust/ rust/ | +49 | 0 replies | |
| 4/4 | rust: macros: Enable the rest of the testsrust/ | +46 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Alice Ryhl |
|---|---|
| 1/4 | |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] Enable rustdoc tests for the macros crate
This patch series addresses GitHub issue Rust-For-Linux/linux#1076 by enabling the rustdoc tests for the macros crate and updating kbuild to compile these tests with appropriate dependencies respected. Reviewers:
Please pay particular attention to the Kbuild changes in rust/Makefile. I appreciate your time in reviewing this series!
Changes from v2:
- Remove one more noisy empty line in the macros doctest
Changes from v1:
- Resolve a duplicate kbuild rule identified by the test robot
- Fix a number of formatting issues in the tests
Ethan D. Twardy (4):
kbuild: rust: Expand rusttest target for macros
rust: Enable test for macros::module
rust: macros: Enable use from macro_rules!
rust: macros: Enable the rest of the tests
rust/Makefile | 29 ++++++++-- rust/macros/lib.rs | 125 ++++++++++++++++++++++++++++++++----------- rust/macros/paste.rs | 15 ++++-- 3 files changed, 131 insertions(+), 38 deletions(-)
base-commit: a126eca844353360ebafa9088d22865cb8e022e3
Signature · 1 line
2.44.2