Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e5aa433da9cf28f14181eba69cb5e56a20e892c1
https://github.com/WebKit/WebKit/commit/e5aa433da9cf28f14181eba69cb5e56a20e892c1
Author: Claudio Saavedra <[email protected]>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M Source/WTF/wtf/CMakeLists.txt
Log Message:
-----------
[GLIB] Build broken with clang and swift
https://bugs.webkit.org/show_bug.cgi?id=315866
Reviewed by Nikolas Zimmermann and Adrian Perez de Castro.
Source/WTF/wtf/module.modulemap declares an explicit `WebCoreThread`
submodule pointing at ios/WebCoreThread.h, which is staged only on
Cocoa builds. Clang validates header existence at modulemap parse time
even for unused explicit submodules, so Swift's clang importer fails
with "header 'ios/WebCoreThread.h' not found" and the wtf module never
loads.
Mirror the existing wtf/spi/ stub: on non-Apple SWIFT_REQUIRED builds,
write an empty wtf/ios/WebCoreThread.h into the forwarding headers dir.
* Source/WTF/wtf/CMakeLists.txt:
Canonical link: https://commits.webkit.org/314158@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications