Skip to content
Snippets Groups Projects
Commit 5edaa0c4 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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