mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] rust: add missing macros deps as host crates
@ 2025-02-09 21:04 Tamir Duberstein
  2025-02-09 21:04 ` [PATCH 1/3] scripts: generate_rust_analyzer.py: add type hints Tamir Duberstein
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tamir Duberstein @ 2025-02-09 21:04 UTC (permalink / raw)
  To: Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, Danilo Krummrich, Boris-Chengbiao Zhou, Kees Cook,
	Fiona Behrens
  Cc: rust-for-linux, linux-kernel, Lukas Wirth, Tamir Duberstein,
	Chayim Refael Friedman

This is an alternative of (or follow-up to) a similar patch based on
rust-fixes:

https://lore.kernel.org/all/20250209-rust-analyzer-macros-core-dep-v2-1-897338344d16@gmail.com/

This one contains a larger refactor that allows host crates to be
declared separately from target crates as discussed in v1 of the above:

https://lore.kernel.org/all/20250209-rust-analyzer-macros-core-dep-v1-1-5ebeb3eb60a9@gmail.com/

In my testing rust-analyzer seems fine with multiple crates with the
same display_name. Crates are identified by their index.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
---
Tamir Duberstein (3):
      scripts: generate_rust_analyzer.py: add type hints
      scripts: generate_rust_analyzer.py: identify crates explicitly
      scripts: generate_rust_analyzer.py: add missing macros deps

 scripts/generate_rust_analyzer.py | 143 ++++++++++++++++++++++++++------------
 1 file changed, 97 insertions(+), 46 deletions(-)
---
base-commit: beeb78d46249cab8b2b8359a2ce8fa5376b5ad2d
change-id: 20250209-rust-analyzer-host-43b108655578

Best regards,
-- 
Tamir Duberstein <tamird@gmail.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-09 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-09 21:04 [PATCH 0/3] rust: add missing macros deps as host crates Tamir Duberstein
2025-02-09 21:04 ` [PATCH 1/3] scripts: generate_rust_analyzer.py: add type hints Tamir Duberstein
2025-02-09 21:04 ` [PATCH 2/3] scripts: generate_rust_analyzer.py: identify crates explicitly Tamir Duberstein
2025-02-09 21:04 ` [PATCH 3/3] scripts: generate_rust_analyzer.py: add missing macros deps Tamir Duberstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®