I would like to get a stacktrace from cabal test (since they launch an exception about a busy file descriptor). When I try to run the tests with +RTS -xc it asks for profiling but if I enable profiling, I get Plugins require -fno-external-interpreter (I've indeed set -external-interpreter as suggested by cabal), if I disable polysemy-plugin then the build fails. Any idea how to get the best of both worlds ? aka profiling + polysemy
cabal first suggested it when I added -prof to compile options but it shouldn't have advised it knowing that there was -fplugin too. Anyway I've found my issue without profiling
I would like to get a stacktrace from
cabal test
(since they launch an exception about a busy file descriptor). When I try to run the tests with+RTS -xc
it asks for profiling but if I enable profiling, I getPlugins require -fno-external-interpreter
(I've indeed set -external-interpreter as suggested by cabal), if I disable polysemy-plugin then the build fails. Any idea how to get the best of both worlds ? aka profiling + polysemyhuh? where do they suggest this?
does your build work without
-external-interpreter
?cabal first suggested it when I added -prof to compile options but it shouldn't have advised it knowing that there was -fplugin too. Anyway I've found my issue without profiling