Skip to content
Snippets Groups Projects
Commit 64fd0fac authored by Ben Gamari's avatar Ben Gamari
Browse files

ghc-heap: Add dependency from GHC.Exts.Heap.Closures to InfoTableProf

`ghc -M` currently doesn't properly account for ways when generating
dependencies (#15197). This import ensures correct build-ordering between this
module and GHC.Exts.Heap.InfoTableProf. Otherwise the profiled build may fail as
described in #15197.
parent 1d1e2b77
No related merge requests found
...@@ -23,6 +23,12 @@ import GHC.Exts.Heap.Constants ...@@ -23,6 +23,12 @@ import GHC.Exts.Heap.Constants
import GHC.Exts.Heap.InfoTableProf import GHC.Exts.Heap.InfoTableProf
#else #else
import GHC.Exts.Heap.InfoTable import GHC.Exts.Heap.InfoTable
-- `ghc -M` currently doesn't properly account for ways when generating
-- dependencies (#15197). This import ensures correct build-ordering between
-- this module and GHC.Exts.Heap.InfoTableProf. It should be removed when #15197
-- is fixed.
import GHC.Exts.Heap.InfoTableProf ()
#endif #endif
import Data.Bits import Data.Bits
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment