-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-cargocargo related issuescargo related issuesA-proc-macroproc macroproc macroC-enhancementCategory: enhancementCategory: enhancementE-has-instructionsIssue has some instructions and pointers to code to get startedIssue has some instructions and pointers to code to get started
Description
I'm using environment variables to configure proc macros that need to open and parse files for generation. When building in cargo, I can set these in the [env]
block of .cargo/config.toml
. However, rust-analyzer doesn't read these environment variables, forcing me to duplicate them as settings with rust-analyzer.server.extraEnv
.
rust-analyzer version: rust-analyzer version: 0.3.1369-standalone
rustc version: rustc 1.66.0 (69f9c33d7 2022-12-12)
aobatact and Kevin-ReactorDessix
Metadata
Metadata
Assignees
Labels
A-cargocargo related issuescargo related issuesA-proc-macroproc macroproc macroC-enhancementCategory: enhancementCategory: enhancementE-has-instructionsIssue has some instructions and pointers to code to get startedIssue has some instructions and pointers to code to get started