aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-06-27 17:43:56 -0700
committerMiguel Ojeda <[email protected]>2024-07-08 23:44:01 +0200
commit5045b460843adf5bb31774b9464df5ae8e4da0d4 (patch)
tree5b068917ed037b0d61dd6b6cda9a13deba5d9c5f
parent6dc9d9ca9a728c8b30976d3ca353563ba0bfb949 (diff)
kbuild: rust-analyzer: improve comment documentation
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 <[email protected]> Reviewed-by: Finn Behrens <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Reworded title. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de5be3845c70..fea263aaa492 100644
--- 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