summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2024-06-27 17:43:56 -0700
committerMiguel Ojeda <ojeda@kernel.org>2024-07-08 23:44:01 +0200
commit5045b460843adf5bb31774b9464df5ae8e4da0d4 (patch)
tree5b068917ed037b0d61dd6b6cda9a13deba5d9c5f /Makefile
parent6dc9d9ca9a728c8b30976d3ca353563ba0bfb949 (diff)
downloadlinux-5045b460843adf5bb31774b9464df5ae8e4da0d4.tar.gz
linux-5045b460843adf5bb31774b9464df5ae8e4da0d4.tar.bz2
linux-5045b460843adf5bb31774b9464df5ae8e4da0d4.zip
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 <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>
Diffstat (limited to 'Makefile')
-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