mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
Auto merge of #17108 - Veykril:rustc-ws-hacks, r=Veykril
internal: Cleanup cfg and env handling in project-model Fixes https://github.com/rust-lang/rust-analyzer/issues/16122#issuecomment-2065794340 `miri` and `debug_assertions` are now enabled via the `cargo.cfgs` config by default, allowing them to be disabled by overwriting the config.
This commit is contained in:
@@ -610,7 +610,10 @@
|
||||
},
|
||||
"rust-analyzer.cargo.cfgs": {
|
||||
"markdownDescription": "List of cfg options to enable with the given values.",
|
||||
"default": {},
|
||||
"default": {
|
||||
"debug_assertions": null,
|
||||
"miri": null
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"rust-analyzer.cargo.extraArgs": {
|
||||
|
||||
Reference in New Issue
Block a user