Skip to content

Commit b603c6c

Browse files
Perpixelojeda
authored andcommitted
docs: rust: add command line to rust-analyzer section
Add command line to rust-analyzer section for convenience purposes. Signed-off-by: Guillaume Plourde <[email protected]> Link: https://lore.kernel.org/r/y4jBalhfESeCZDShmVaGwrdlIRoIHroqNVUUYLck6qGNwB5e7wbIJO5DoiLBTPpTNYtdneWRODjhXwlIl9VzokqxffdNU7y__1wIa7BBl94=@protonmail.com [ Fixed indentation to tab and reworded title. ] Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 4f353e0 commit b603c6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/rust/quick-start.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ be used with many editors to enable syntax highlighting, completion, go to
196196
definition, and other features.
197197

198198
``rust-analyzer`` needs a configuration file, ``rust-project.json``, which
199-
can be generated by the ``rust-analyzer`` Make target.
199+
can be generated by the ``rust-analyzer`` Make target::
200+
201+
make LLVM=1 rust-analyzer
200202

201203

202204
Configuration

0 commit comments

Comments
 (0)