Bug 315689

Summary: Use -emit-clang-header-min-access only if supported by swiftc
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKit Misc.Assignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: adrian_taylor, mcatanzaro, pascoe, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Michael Catanzaro
Reported 2026-05-27 13:09:39 PDT
My build is currently failing with: error: emit-module command failed with exit code 1 (use -v to see invocation) <unknown>:0: error: unknown argument: '-emit-clang-header-min-access' We started using the swiftc flag -emit-clang-header-min-access in 313700@main. Problem is this flag was added in Swift 6.3, but I have Swift 6.2. I have a change to check whether the flag is supported before using it, which seems to work....
Attachments
Michael Catanzaro
Comment 1 2026-05-27 14:36:05 PDT
EWS
Comment 2 2026-05-28 06:24:39 PDT
Committed 314034@main (704788c49ee2): <https://commits.webkit.org/314034@main> Reviewed commits have been landed. Closing PR #65840 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-05-28 06:25:13 PDT
Note You need to log in before you can comment on or make changes to this bug.