mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
docs: fix VS Code setting samples
This commit is contained in:
parent
5fcf5289e7
commit
b6f0994ee6
1 changed files with 2 additions and 2 deletions
|
@ -946,7 +946,7 @@ Or it is possible to specify vars more granularly:
|
|||
"rust-analyzer.runnables.extraEnv": [
|
||||
{
|
||||
// "mask": null, // null mask means that this rule will be applied for all runnables
|
||||
env: {
|
||||
"env": {
|
||||
"APP_ID": "1",
|
||||
"APP_DATA": "asdf"
|
||||
}
|
||||
|
@ -968,7 +968,7 @@ If needed, you can set different values for different platforms:
|
|||
"rust-analyzer.runnables.extraEnv": [
|
||||
{
|
||||
"platform": "win32", // windows only
|
||||
env: {
|
||||
"env": {
|
||||
"APP_DATA": "windows specific data"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue