Try doing a cabal clean? Also are you setting that for an executable or a library? Only makes sense on an executable<span></span><br><br>On Sunday, July 6, 2014, Johan Larson <<a href="mailto:johan.g.larson@gmail.com">johan.g.larson@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I need to change some runtime options.<div><br></div><div>I updated the options line in my cabal file:</div>
<div>  ghc-options:         -Wall -fno-warn-orphans -O2 -rtsopts</div><div><br></div><div>But when I rebuild and run, it's as though runtime options are still disabled.</div>
<div><br></div><div><div>C:\johan\Haskell\projects\bio-acai>cabal build</div><div>.\bio-acai.cabal has been changed. Re-configuring with most recently used</div><div>options. If this fails, please run configure manually.</div>

<div>Resolving dependencies...</div><div>Configuring bio-acai-0.1.0.0...</div><div>Building bio-acai-0.1.0.0...</div><div>Preprocessing executable 'acai' for bio-acai-0.1.0.0...</div><div>Preprocessing test suite 'tests' for bio-acai-0.1.0.0...</div>

<div><br></div><div>C:\johan\Haskell\projects\bio-acai>dist\build\acai\acai.exe +RTS -H128m -K64m</div><div><b>acai.exe: Most RTS options are disabled. Link with -rtsopts to enable them.</b></div><div><br></div><div>My best guess is that the "ghc-options" line is the wrong place to try to turn on RTS option handling. But what's the right one?</div>

-- <br>Johan Larson -- Toronto, Canada
</div></div>
</blockquote>