diff options
author | Benjamin Bouvier <[email protected]> | 2021-02-11 16:34:56 +0000 |
---|---|---|
committer | Benjamin Bouvier <[email protected]> | 2021-02-13 17:20:46 +0000 |
commit | 4a6e602c9419cc5ed464343b2373c7fe86fb89d6 (patch) | |
tree | ed4148a4ccb0a7e81cb897f611e66e40bf492488 /editors/code | |
parent | 2967e783ac53e89f06a8f8bd1afc12433311fded (diff) |
Allow automatically detect the rustc-src directory (fixes #3517).
If the configured rustcSource is set to "discover", try to automatically
detect a source from the sysroot rustc directory.
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 55825456e..defa108cb 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -707,7 +707,7 @@ | |||
707 | } | 707 | } |
708 | }, | 708 | }, |
709 | "rust-analyzer.rustcSource": { | 709 | "rust-analyzer.rustcSource": { |
710 | "markdownDescription": "Path to the rust compiler sources, for usage in rustc_private projects.", | 710 | "markdownDescription": "Path to the rust compiler sources, for usage in rustc_private projects, or \"discover\" to try to automatically find it.", |
711 | "default": null, | 711 | "default": null, |
712 | "type": [ | 712 | "type": [ |
713 | "null", | 713 | "null", |