Skip to content

Commit 4126f2b

Browse files
authored
Merge pull request #149 from bgamari/master
Compile with eager blackholing
2 parents 76f3b97 + 1c7c6cb commit 4126f2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

unordered-containers.cabal

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ library
5050
ghc-options: -Wall -O2
5151
if impl(ghc >= 6.8)
5252
ghc-options: -fwarn-tabs
53+
if impl(ghc >= 6.12)
54+
-- This is absolutely essential for correctness due to the
55+
-- referential-transparency-breaking mutability in unsafeInsertWith. See
56+
-- #147 and GHC #13615 for details.
57+
ghc-options: -feager-blackholing
5358
if flag(debug)
5459
cpp-options: -DASSERTS
5560

0 commit comments

Comments
 (0)