summaryrefslogtreecommitdiff
path: root/Documentation/rust
diff options
context:
space:
mode:
authorGuillaume Plourde <gplourde@protonmail.com>2023-08-14 15:07:22 +0000
committerMiguel Ojeda <ojeda@kernel.org>2023-08-20 23:16:39 +0200
commitb603c6cc405a1c25e84d9621ec05115ed63ff8b8 (patch)
treeea9acfc224a986a2226828ce3932ba34cda7176e /Documentation/rust
parent4f353e0d1282dfe6b8082290fe8e606c5739a954 (diff)
docs: rust: add command line to rust-analyzer section
Add command line to rust-analyzer section for convenience purposes. Signed-off-by: Guillaume Plourde <gplourde@protonmail.com> Link: https://lore.kernel.org/r/y4jBalhfESeCZDShmVaGwrdlIRoIHroqNVUUYLck6qGNwB5e7wbIJO5DoiLBTPpTNYtdneWRODjhXwlIl9VzokqxffdNU7y__1wIa7BBl94=@protonmail.com [ Fixed indentation to tab and reworded title. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Documentation/rust')
-rw-r--r--Documentation/rust/quick-start.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
index 2cdf75eeae1d..1274cd74f767 100644
--- a/Documentation/rust/quick-start.rst
+++ b/Documentation/rust/quick-start.rst
@@ -196,7 +196,9 @@ be used with many editors to enable syntax highlighting, completion, go to
definition, and other features.
``rust-analyzer`` needs a configuration file, ``rust-project.json``, which
-can be generated by the ``rust-analyzer`` Make target.
+can be generated by the ``rust-analyzer`` Make target::
+
+ make LLVM=1 rust-analyzer
Configuration