summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-09-28 11:46:44 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-30 00:57:44 -0400
commite0923b98a243809f08245b2ff04ecbe074b55873 (patch)
tree6002b4a30a0341f5478f4f43f0340ee78909f767 /testsuite/tests/patsyn
parent205f0f921590a6365ed1c36d34f557a1e387bfa2 (diff)
downloadhaskell-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/patsyn')
0 files changed, 0 insertions, 0 deletions