]> git.lizzy.rs Git - rust.git/commit
Auto merge of #79685 - sivadeilra:fix_env_vars_win, r=davidtwco
authorbors <bors@rust-lang.org>
Sat, 5 Dec 2020 20:30:58 +0000 (20:30 +0000)
committerbors <bors@rust-lang.org>
Sat, 5 Dec 2020 20:30:58 +0000 (20:30 +0000)
commite792288df31636ca28108516c63a00ce4267063a
tree4e8e0ad5a617a20c729b1ed03973943ece40d73f
parent15eaa0020b79ad9a9a0c486d1abd00b29c6c5ae2
parent957061bb977751767e2b543b29d65581283a94fe
Auto merge of #79685 - sivadeilra:fix_env_vars_win, r=davidtwco

Fix src/test/ui/env-vars.rs on 128-core machines on Windows

On Windows, the environment variable NUMBER_OF_PROCESSORS has special
meaning. Unfortunately, you can get different answers, depending on
whether you are enumerating all environment variables or querying a
specific variable. This was causing the src/test/ui/env-vars.rs test
to fail on machines with more than 64 processors when run on Windows.