forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from adamrk/rust-analyzer-docs
Add rust-analyzer notes to quick-start.rst
- Loading branch information
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,3 +162,6 @@ x509.genkey | |
|
||
# Documentation toolchain | ||
sphinx_*/ | ||
|
||
# Rust analyzer configuration | ||
/rust-project.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"sysroot_src": <path-to-sysroot-source>, | ||
"crates": [ | ||
{ | ||
"root_module": "rust/module.rs", | ||
"edition": "2018", | ||
"deps": [] | ||
}, | ||
{ | ||
"root_module": "rust/kernel/lib.rs", | ||
"edition": "2018", | ||
"deps": [ | ||
{ | ||
"crate": 0, | ||
"name": "module" | ||
} | ||
] | ||
}, | ||
{ | ||
"root_module": <path-to-module>, | ||
"edition": "2018", | ||
"deps": [ | ||
{ | ||
"crate": 0, | ||
"name": "module" | ||
}, | ||
{ | ||
"crate": 1, | ||
"name": "kernel" | ||
} | ||
] | ||
}, | ||
<...entries for other modules...> | ||
] | ||
} |