Skip to content

Build fails on WASM #614

@brandonchinn178

Description

@brandonchinn178

Got a failure when building ghc-lib-parser with GHC WASM. Not sure if it's a ghc-lib-parser issue or a GHC WASM issue, but I figured I'd start here

https://github.com/fourmolu/fourmolu/actions/runs/17982289343/job/51151331706?pr=490

Failed to build ghc-lib-parser-9.12.2.20250421.

 compiler/GHC/Tc/Errors/Ppr.hs:44:1: error: [GHC-61948]
    Could not find module ‘GHC.Internal.TH.Ppr’.
    Perhaps you meant
      GHC.Internal.TH.Lib (from ghc-internal-9.1202.0)
      GHC.Internal.Ptr (from ghc-internal-9.1202.0)
      GHC.Internal.TH.Lift (from ghc-internal-9.1202.0)
    Use -v to see a list of the files searched for.
   |
44 | import qualified GHC.Internal.TH.Ppr as TH
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions