Windows environment variables are case preserving (but case-insensitive) #9630
Labels
A-configuration
Area: cargo config files and env vars
A-environment-variables
Area: environment variables
C-bug
Category: bug
O-windows
OS: Windows
I recently submitted a PR to stop Rust ASCII upper casing environment variables: rust-lang/rust#85270. This causes the following test to fail.
cargo/tests/testsuite/tool_paths.rs
Lines 360 to 373 in 3691752
I think it's because something relies on a new process upper casing key names? Which only happened before because Rust manually ASCII upper cased keys when starting a new process.
Hm, that seems to be the assumption here:
cargo/src/cargo/util/config/mod.rs
Lines 698 to 703 in 3691752
Whereas Windows itself does no such conversion.
cc @ehuss ? (only because you most recently touched the relevant test 🙂)
The text was updated successfully, but these errors were encountered: