Skip to content

rts: make threaded ways optional

Cheng Shao requested to merge TerrorJack/ghc:rts_thr_optional into master

For certain targets (e.g. wasm32-wasi), the threaded rts is known not to work. This patch adds a "threaded" cabal flag to rts to make threaded rts ways optional. Hadrian enables this flag iff the flavour rtsWays contains threaded ways.

Merge request reports