From: John Hubbard Date: Fri, 28 Jun 2024 00:43:56 +0000 (-0700) Subject: kbuild: rust-analyzer: improve comment documentation X-Git-Tag: v6.11-rc1~12^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5045b460843adf5bb31774b9464df5ae8e4da0d4;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Finn Behrens Reviewed-by: Alice Ryhl Link: https://lore.kernel.org/r/20240628004356.1384486-3-jhubbard@nvidia.com [ Reworded title. - Miguel ] Signed-off-by: Miguel Ojeda --- diff --git a/Makefile b/Makefile index de5be3845c707..fea263aaa4924 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