• lukexi's avatar
    Return Maybe Platform as part of compiler configure, and place it in... · 7a0941c8
    lukexi authored
    Return Maybe Platform as part of compiler configure, and place it in LocalBuildInfo as hostPlatform.
    GHC infers the platform form ghc --info using new 'platformFromTriple' function. Other compilers return Nothing, which triggers fallback to old behavior of using buildPlatform. hostPlatform is then threaded through to initialPathTemplateEnv.
    7a0941c8
Configure.hs 8.57 KB