diff options
| author | vsrs <vit@conrlab.com> | 2021-04-22 16:09:46 +0300 |
|---|---|---|
| committer | vsrs <vit@conrlab.com> | 2021-04-22 16:09:46 +0300 |
| commit | 1ebfe11730191e914dcf20297cdfdac5b7c297fc (patch) | |
| tree | ae6caf9e8fd50e3eac826d0a3f0698c6e047544f /editors/code/package.json | |
| parent | 8f781e782c7e16aa323672620753ec31526d2b90 (diff) | |
| download | rust-1ebfe11730191e914dcf20297cdfdac5b7c297fc.tar.gz rust-1ebfe11730191e914dcf20297cdfdac5b7c297fc.zip | |
Add special `auto` value for `debug.sourceFileMap`
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index fa5632f9007..5437a064869 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -353,8 +353,9 @@ "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)" ] }, - "rust-analyzer.debug.sourceFileMap": { - "type": "object", + "rust-analyzer.debug.sourceFileMap": { + "type": ["object", "string"], + "const": "auto", "description": "Optional source file mappings passed to the debug engine.", "default": { "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust" |
