]> git.lizzy.rs Git - rust.git/commit
Auto merge of #85270 - ChrisDenton:win-env-case, r=m-ou-se
authorbors <bors@rust-lang.org>
Sun, 4 Jul 2021 01:24:05 +0000 (01:24 +0000)
committerbors <bors@rust-lang.org>
Sun, 4 Jul 2021 01:24:05 +0000 (01:24 +0000)
commit154071194641d8db6c056b0d83dd0d071f9f6758
treecda0c37923b0e157c4b53c1b238cc96c6df4019f
parentd34a3a401b4e44f289a4d5bf53da83367cbb6aa7
parenta200c01e4fb32179af1cbbc47a1e5ea7a6394e9a
Auto merge of #85270 - ChrisDenton:win-env-case, r=m-ou-se

When using `process::Command` on Windows, environment variable names must be case-preserving but case-insensitive

When using `Command` to set the environment variables, the key should be compared as uppercase Unicode but when set it should preserve the original case.

Fixes #85242
library/std/src/sys/windows/c.rs
library/std/src/sys/windows/process.rs