Duncan Coutts pushed to branch wip/dcoutts/io-manager-tidy at Glasgow Haskell Compiler / GHC Commits: 1fa73d6e by Duncan Coutts at 2026-07-15T23:55:47+01:00 Potential fix for !HAVE_PREEMPTION case hopefully fixes the wasm build. If so, squash into previous patch. - - - - - 1 changed file: - rts/posix/Poll.c Changes: ===================================== rts/posix/Poll.c ===================================== @@ -414,13 +414,13 @@ void pollCompletedTimeoutsOrIOPoll(CapIOManager *iomgr) if (!isEmptyClosureTable(&iomgr->aiop_table)) { - nfds_t nfds = sizeClosureTable(&iomgr->aiop_table) + 1; - #if defined(HAVE_PREEMPTION) /* the full_poll_table includes interrupt_fd_r */ + nfds_t nfds = sizeClosureTable(&iomgr->aiop_table) + 1; struct pollfd *poll_table = iomgr->full_poll_table; #else /* the aiop_poll_table does not include interrupt_fd_r */ + nfds_t nfds = sizeClosureTable(&iomgr->aiop_table) + 0; struct pollfd *poll_table = iomgr->aiop_poll_table; #endif View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1fa73d6e11b86a0634f8eaef95f9bf0d... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1fa73d6e11b86a0634f8eaef95f9bf0d... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Duncan Coutts (@dcoutts)