rust-analyzer doesn't read [env] values from .cargo/config.toml #13976
Labels
A-cargo
cargo related issues
A-proc-macro
proc macro
C-enhancement
Category: enhancement
E-has-instructions
Issue has some instructions and pointers to code to get started
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 withrust-analyzer.server.extraEnv
.rust-analyzer version: rust-analyzer version: 0.3.1369-standalone
rustc version: rustc 1.66.0 (69f9c33d7 2022-12-12)
The text was updated successfully, but these errors were encountered: