diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2022-10-11 10:37:35 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2022-10-11 10:37:35 +0300 |
| commit | 4f55ebbd4fb2aaf6ac97e484c07504e5124422e7 (patch) | |
| tree | 935f14e6b9bc2f1c1592e27c32e63d452ec9db4f /editors/code | |
| parent | 3a57388d136518c063ffdad09e27394cfe66ecb3 (diff) | |
| download | rust-4f55ebbd4fb2aaf6ac97e484c07504e5124422e7.tar.gz rust-4f55ebbd4fb2aaf6ac97e484c07504e5124422e7.zip | |
:arrow_up: rust-analyzer
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/package.json | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 94b41c049bc..f1dd3aa79ff 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -468,10 +468,13 @@ "default": false, "type": "boolean" }, - "rust-analyzer.cargo.noSysroot": { - "markdownDescription": "Internal config for debugging, disables loading of sysroot crates.", - "default": false, - "type": "boolean" + "rust-analyzer.cargo.sysroot": { + "markdownDescription": "Relative path to the sysroot, or \"discover\" to try to automatically find it via\n\"rustc --print sysroot\".\n\nUnsetting this disables sysroot loading.\n\nThis option does not take effect until rust-analyzer is restarted.", + "default": "discover", + "type": [ + "null", + "string" + ] }, "rust-analyzer.cargo.target": { "markdownDescription": "Compilation target override (target triple).", @@ -515,7 +518,7 @@ } }, "rust-analyzer.checkOnSave.extraEnv": { - "markdownDescription": "Extra environment variables that will be set when running `cargo check`.", + "markdownDescription": "Extra environment variables that will be set when running `cargo check`.\nExtends `#rust-analyzer.cargo.extraEnv#`.", "default": {}, "type": "object" }, |
