mirror of
https://github.com/torvalds/linux
synced 2024-10-05 02:44:13 +00:00
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>
This commit is contained in:
parent
4f353e0d12
commit
b603c6cc40
|
@ -196,7 +196,9 @@ be used with many editors to enable syntax highlighting, completion, go to
|
||||||
definition, and other features.
|
definition, and other features.
|
||||||
|
|
||||||
``rust-analyzer`` needs a configuration file, ``rust-project.json``, which
|
``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
|
Configuration
|
||||||
|
|
Loading…
Reference in a new issue