Skip to content

Commit 020b94c

Browse files
committed
Adjust GC options
1 parent d627a54 commit 020b94c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

text.cabal

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,13 @@ test-suite tests
248248

249249
benchmark text-benchmarks
250250
type: exitcode-stdio-1.0
251+
251252
ghc-options: -Wall -O2 -rtsopts
253+
if impl(ghc >= 8.10)
254+
ghc-options: "-with-rtsopts=-A32m --nonmoving-gc"
255+
else
256+
ghc-options: "-with-rtsopts=-A32m"
257+
252258
build-depends: base,
253259
binary,
254260
-- we need instance NFData ByteString

0 commit comments

Comments
 (0)