From: Guillaume Plourde Date: Mon, 14 Aug 2023 15:07:22 +0000 (+0000) Subject: docs: rust: add command line to rust-analyzer section X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b603c6cc405a;p=linux.git docs: rust: add command line to rust-analyzer section Add command line to rust-analyzer section for convenience purposes. Signed-off-by: Guillaume Plourde Link: https://lore.kernel.org/r/y4jBalhfESeCZDShmVaGwrdlIRoIHroqNVUUYLck6qGNwB5e7wbIJO5DoiLBTPpTNYtdneWRODjhXwlIl9VzokqxffdNU7y__1wIa7BBl94=@protonmail.com [ Fixed indentation to tab and reworded title. ] Signed-off-by: Miguel Ojeda --- diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst index 2cdf75eeae1d8..1274cd74f7679 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