Merge pull request #4 from thepacketgeek/generate-rust-project
Adding section about rust-analyzer in README
This commit is contained in:
commit
490d67b427
|
@ -8,3 +8,4 @@
|
|||
*.rmeta
|
||||
Module.symvers
|
||||
modules.order
|
||||
rust-project.json
|
||||
|
|
|
@ -34,3 +34,11 @@ make[1]: Leaving directory '.../linux-with-rust-support'
|
|||
For details about the Rust support, see https://github.com/Rust-for-Linux/linux.
|
||||
|
||||
For details about out-of-tree modules, see https://www.kernel.org/doc/html/latest/kbuild/modules.html.
|
||||
|
||||
## rust-analyzer
|
||||
|
||||
Rust for Linux supports building a `rust-project.json` configuration for [`rust-analyzer`](https://rust-analyzer.github.io/), including for out-of-tree modules:
|
||||
|
||||
```sh
|
||||
make -C .../linux-with-rust-support M=`pwd` rust-analyzer
|
||||
```
|
Loading…
Reference in New Issue