Skip to content

Commit 18855c9

Browse files
committed
Document sysroot_project field in rust-project.json
1 parent 9a0434e commit 18855c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/rust-analyzer/docs/book/src/non_cargo_based_projects.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ interface ProjectJson {
4040
/// several different "sysroots" in one graph of
4141
/// crates.
4242
sysroot_src?: string;
43+
/// A ProjectJson describing the crates of the sysroot.
44+
sysroot_project?: ProjectJson;
45+
4346
/// List of groups of common cfg values, to allow
4447
/// sharing them between crates.
4548
///

0 commit comments

Comments
 (0)