Repository navigation
Conversation
… on StreamSelectDriver (revolt 1.1's IoPollDriver on PHP 8.6 doesn't survive fork on macOS)
….6) isn't fork-safe" This reverts commit d1c24a7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ubuntu-24.04: onubuntu-latest(26.04, x86_64) ext-php-rs's bindgen fails to generate the bindings, with errors in clang 21'sxmmintrin.h/emmintrin.h(all PHP versions).fork()support: nothing using php-tokio forks, so its fork guards are gone (the runtime's PID,init()refusing after a fork, the panic of a call pending across a fork, the checks of the event loop's PID) with their three tests. They also made the tests run Revolt's loop in forked children, which revolt/event-loop 1.1'sIoPollDriver(the default on PHP 8.6) doesn't survive: its epoll instance is shared with the parent, its kqueue isn't inherited.Run locally on ZTS PHP 8.6.0 (
php:8.6-cli-bookworm, arm64): the whole suite passed (before the fork tests' removal) three runs out of three. The design keeps PHP values on the PHP thread (thread-local event loops; Tokio threads only hand back Rust data through the slots, the channel and the notification socket).