I am trying to compile an executable and get the following error at runtime:
<my-executable-name>: user error (RTS doesn't support multiple OS threads (use ghc -threaded when linking))
Here are the GHC options I used to build it (default stack options, and the build is successful):
ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N
The executable uses the following libraries: base, containers, scotty, bytestring, text, brick, regex-base, regex-pcre, array, http-conduit, http-types, http-client, vty. Do you think some of them might not be compatible at runtime? There is no information about that in the docs of these various libraries.
Thanks in advance for your help !