Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Stack should hide GHCRTS environment variable #3444
This stackoverflow question brings up a case of trying to run
Unfortunately it looks like there is no "proper" way to pass RTS options through runghc - see this other stackoverflow question
I think it makes sense to only pass
Note that there's no avoiding stack itself also getting these RTS arguments. In the case of ghc, the RTS arguments will be used by stack, ghc, and the program that gets run. So, this is indeed quite a hack. Would be good to get this fixed in ghc itself.
One thing that occurs to me is that it might be good to have a