File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 11export interface JsonProject {
2+ /// Path to the sysroot directory.
3+ ///
4+ /// The sysroot is where rustc looks for the
5+ /// crates that are built-in to rust, such as
6+ /// std.
7+ ///
8+ /// https://doc.rust-lang.org/rustc/command-line-arguments.html#--sysroot-override-the-system-root
9+ ///
10+ /// To see the current value of sysroot, you
11+ /// can query rustc:
12+ ///
13+ /// ```
14+ /// $ rustc --print sysroot
15+ /// /Users/yourname/.rustup/toolchains/stable-x86_64-apple-darwin
16+ /// ```
17+ sysroot ?: string ;
218 /// Path to the directory with *source code* of
319 /// sysroot crates.
420 ///
21+ /// By default, this is `lib/rustlib/src/rust/library`
22+ /// relative to the sysroot.
23+ ///
524 /// It should point to the directory where std,
625 /// core, and friends can be found:
726 ///
You can’t perform that action at this time.
0 commit comments