Commit 5edaa0c4 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Enable `-rtsopts` for `cabal` executable

Fwiw, the GHC executables are compiled with full `-rtsopts` as well.
The benefit is that one can use flags such as `-M1G` to limit the heap
space, or profile memory usage via `-hT`.
parent 060b9061
......@@ -228,7 +228,7 @@ Flag debug-tracetree
executable cabal
main-is: Main.hs
ghc-options: -Wall -fwarn-tabs
ghc-options: -Wall -fwarn-tabs -rtsopts
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Wnoncanonical-monad-instances
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment