about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <me@lukaswirth.dev>2025-06-24 07:15:19 +0000
committerGitHub <noreply@github.com>2025-06-24 07:15:19 +0000
commit04c908948c12e447f4d04ac959995f42912b4da2 (patch)
treea8be466cacc0e873e200f1941d625346d1398caa
parentbb164bf699210522083a340579994a93fb058bab (diff)
parent18855c9775a8a4e79a8a0b4ac0c1be300be3d7d7 (diff)
downloadrust-04c908948c12e447f4d04ac959995f42912b4da2.tar.gz
rust-04c908948c12e447f4d04ac959995f42912b4da2.zip
Merge pull request #20064 from Wilfred/document_sysroot_project
Document sysroot_project field in rust-project.json
-rw-r--r--src/tools/rust-analyzer/docs/book/src/non_cargo_based_projects.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/docs/book/src/non_cargo_based_projects.md b/src/tools/rust-analyzer/docs/book/src/non_cargo_based_projects.md
index bbdb48bbbc9..befb631ec03 100644
--- a/src/tools/rust-analyzer/docs/book/src/non_cargo_based_projects.md
+++ b/src/tools/rust-analyzer/docs/book/src/non_cargo_based_projects.md
@@ -40,6 +40,9 @@ interface ProjectJson {
     /// several different "sysroots" in one graph of
     /// crates.
     sysroot_src?: string;
+    /// A ProjectJson describing the crates of the sysroot.
+    sysroot_project?: ProjectJson;
+
     /// List of groups of common cfg values, to allow
     /// sharing them between crates.
     ///