mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-20 03:49:51 +00:00
Allow setting cfgs
This commit is contained in:
parent
ee8c18cb6e
commit
cea84427e0
8 changed files with 73 additions and 89 deletions
|
|
@ -553,6 +553,11 @@
|
|||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"rust-analyzer.cargo.cfgs": {
|
||||
"markdownDescription": "List of cfg options to enable with the given values.",
|
||||
"default": {},
|
||||
"type": "object"
|
||||
},
|
||||
"rust-analyzer.cargo.extraArgs": {
|
||||
"markdownDescription": "Extra arguments that are passed to every cargo invocation.",
|
||||
"default": [],
|
||||
|
|
@ -617,7 +622,7 @@
|
|||
]
|
||||
},
|
||||
"rust-analyzer.cargo.unsetTest": {
|
||||
"markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.",
|
||||
"markdownDescription": "Unsets the implicit `#[cfg(test)]` for the specified crates.",
|
||||
"default": [
|
||||
"core"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue