Skip to content

_get_osfhandle bound with an incorrect type

compiler/GHC/Runtime/Utils.hs has the following:

foreign import ccall unsafe "io.h _get_osfhandle"
   _get_osfhandle :: CInt -> IO CInt

This is wrong. The result type should be HANDLE.

This was introduced in 44a5d51a

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