Skip to content

External interpreter is broken on Windows with WinIO

Attempting to use the external interpreter with WinIO on Windows results in an inscrutable error from associateHandleWithIOCP.

$ _build/stage1/bin/ghc --interactive -fexternal-interpreter +RTS --io-manager=native
GHCi, version 9.9.20240309: https://www.haskell.org/ghc/  :? for help
associateHandleWithIOCP: invalid argument (The parameter is incorrect.)

We initially noticed this while working on https://github.com/haskell/process/pull/308.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information