profiling - Polysemy

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Matt

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

Georgi Lyubenov // googleson78

I've indeed set -external-interpreter as suggested by cabal

huh? where do they suggest this?

Georgi Lyubenov // googleson78

does your build work without -external-interpreter?

Matt

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