Bug 303815

Summary: Cease to exclude Swift message receiver source files
Product: WebKit Reporter: adrian_taylor
Component: WebKit Process ModelAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2025-12-09 01:17:08 PST
Certain features in WebKit generate Swift source code files for handling IPC messages in Swift. At the moment this is just some test code, but more will come along in future. It's currently necessary to exclude such files using EXCLUDED_SOURCE_FILE_NAMES in .xcconfigs, which is awkward for adoption of Swift message receivers, especially when they may be conditionally enabled. Rejig things so that this is no longer needed. We now know how to do this because the root cause problem was https://github.com/swiftlang/swift/pull/74415, causing Swift sometimes to interpret things within #if compiler blocks.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-09 01:17:16 PST
adrian_taylor
Comment 2 2025-12-09 01:22:11 PST
EWS
Comment 3 2025-12-10 11:31:17 PST
Committed 304247@main (1d82468d70df): <https://commits.webkit.org/304247@main> Reviewed commits have been landed. Closing PR #55092 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.