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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Pull request: https://github.com/WebKit/WebKit/pull/65840
EWS
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
<rdar://problem/178145216>