]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
kbuild: rust-analyzer: improve comment documentation
authorJohn Hubbard <jhubbard@nvidia.com>
Fri, 28 Jun 2024 00:43:56 +0000 (17:43 -0700)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 8 Jul 2024 21:44:01 +0000 (23:44 +0200)
Replace the cryptic phrase ("IDE support targets") that initially
appears to be about how to support old hard drives, with a few sentences
that explain what "make rust-analyzer" provides.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Finn Behrens <me@kloenk.dev>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20240628004356.1384486-3-jhubbard@nvidia.com
[ Reworded title. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Makefile

index de5be3845c707bbad4ee65f875bcd64892a32005..fea263aaa49244a04c59b842c625d0df57314e77 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1966,7 +1966,9 @@ quiet_cmd_tags = GEN     $@
 tags TAGS cscope gtags: FORCE
        $(call cmd,tags)
 
-# IDE support targets
+# Generate rust-project.json (a file that describes the structure of non-Cargo
+# Rust projects) for rust-analyzer (an implementation of the Language Server
+# Protocol).
 PHONY += rust-analyzer
 rust-analyzer:
        $(Q)$(CONFIG_SHELL) $(srctree)/scripts/rust_is_available.sh