diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-09-28 11:46:44 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-30 00:57:44 -0400 |
commit | e0923b98a243809f08245b2ff04ecbe074b55873 (patch) | |
tree | 6002b4a30a0341f5478f4f43f0340ee78909f767 /testsuite/tests/ghci/prog008 | |
parent | 205f0f921590a6365ed1c36d34f557a1e387bfa2 (diff) | |
download | haskell-e0923b98a243809f08245b2ff04ecbe074b55873.tar.gz |
ghc-boot: Eliminate unnecessary use of getEnvironment
Previously we were using `System.Environment.getEnvironment`, which
decodes all environment variables into Haskell `String`s, where a simple
environment lookup would do. This made the compiler's allocations
unnecessarily dependent on the environment.
Fixes #20431.
Diffstat (limited to 'testsuite/tests/ghci/prog008')
0 files changed, 0 insertions, 0 deletions