[PATCH v3 0/2] rust: reduce duplicate information

Tamir Duberstein posted 2 patches 1 week, 3 days ago
rust/Makefile                     | 32 +++++++++++++++++++++++---------
scripts/generate_rust_analyzer.py | 13 +++++--------
2 files changed, 28 insertions(+), 17 deletions(-)
[PATCH v3 0/2] rust: reduce duplicate information
Posted by Tamir Duberstein 1 week, 3 days ago
This series reuses `rust/Makefile`'s knowledge of `pin_init` and
`pin_init_internal`'s `cfg`s in `scripts/generate_rust_analzyer.py` and
reduces the ceremony needed to use that knowledge in the script.

Signed-off-by: Tamir Duberstein <tamird@kernel.org>
---
Changes in v3:
- Move flag passing from patch 1 to patch 2. (Miguel Ojeda)
- Link to v2: https://patch.msgid.link/20260120-rust-analyzer-pin-init-duplication-v2-0-a1c76f0d3bef@kernel.org

Changes in v2:
- Split into two patches. (Miguel Ojeda)
- CC kbuild. (Miguel Ojeda)
- Link to v1: https://patch.msgid.link/20260116-rust-analyzer-pin-init-duplication-v1-1-5e85c5824a02@kernel.org

---
Tamir Duberstein (2):
      rust: kbuild: extract configs for reuse
      scripts: generate_rust_analyzer.py: reduce cfg plumbing

 rust/Makefile                     | 32 +++++++++++++++++++++++---------
 scripts/generate_rust_analyzer.py | 13 +++++--------
 2 files changed, 28 insertions(+), 17 deletions(-)
---
base-commit: 74a862d251ad5f57b58738cfe0192d807b1a0313
change-id: 20260116-rust-analyzer-pin-init-duplication-a22d05221771

Best regards,
--  
Tamir Duberstein <tamird@kernel.org>