Skip to content
  • Ben Gamari's avatar
    e0923b98
    ghc-boot: Eliminate unnecessary use of getEnvironment · e0923b98
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    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.
    e0923b98
    ghc-boot: Eliminate unnecessary use of getEnvironment
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    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.
Loading