RESOLVED FIXED304930
Add SwiftReceiverIfEnabled
https://bugs.webkit.org/show_bug.cgi?id=304930
Summary Add SwiftReceiverIfEnabled
adrian_taylor
Reported 2026-01-05 02:21:41 PST
WebKit uses python to generate C++ to parse and dispatch IPC messages. This generated C++ can call into either Swift or C++ code, which is selected using an attribute in the messages.in file called 'SwiftReceiver'. However, for all candidate Swift IPC handlers in the near future, we intend to selectively enable C++ vs Swift handlers using a build-time option. We therefore need to be able to choose 'SwiftReceiver' based on the value of a preprocessor directive.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-01-05 02:21:49 PST
adrian_taylor
Comment 2 2026-01-05 02:29:41 PST
EWS
Comment 3 2026-01-13 14:42:50 PST
Committed 305539@main (dd8bdc771fa0): <https://commits.webkit.org/305539@main> Reviewed commits have been landed. Closing PR #56079 and removing active labels.
Jonathan Bedard
Comment 4 2026-01-13 21:31:02 PST
Reopened Bugzilla. REGRESSION(305532@main): Broke the Asan build, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=305450.
EWS
Comment 5 2026-01-14 02:23:36 PST
Committed 305567@main (5b1d62e3436d): <https://commits.webkit.org/305567@main> Reviewed commits have been landed. Closing PR #56546 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.