Skip to content

Commit 490d67b

Browse files
authored
Merge pull request #4 from thepacketgeek/generate-rust-project
Adding section about rust-analyzer in README
2 parents f44f83f + 5081c8d commit 490d67b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
*.rmeta
99
Module.symvers
1010
modules.order
11+
rust-project.json

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@ make[1]: Leaving directory '.../linux-with-rust-support'
3434
For details about the Rust support, see https://github.com/Rust-for-Linux/linux.
3535

3636
For details about out-of-tree modules, see https://www.kernel.org/doc/html/latest/kbuild/modules.html.
37+
38+
## rust-analyzer
39+
40+
Rust for Linux supports building a `rust-project.json` configuration for [`rust-analyzer`](https://rust-analyzer.github.io/), including for out-of-tree modules:
41+
42+
```sh
43+
make -C .../linux-with-rust-support M=`pwd` rust-analyzer
44+
```

0 commit comments

Comments
 (0)