Bug 308813
| Summary: | Generate single interop file on most recent SDKs | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | adrian_taylor |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
adrian_taylor
Older SDK versions intermix objective-C and C/C++ definitions within the generated WebKit-Swift-Generated.h file. To enable building the Swift demo logo on those older SDKs, we provide a mode where the WebKit build system generates two separate header files for use in C/C++ vs objective-C. That mode is not supported for more complex Swift/C++ interop situations such as the Back Forward List, and fortunately, newer SDKs have solved the problem such that we can generate just a single header file. We need to flip the mode for non-Mac/iPhone platforms to generate a single file, or we won't be able to enable the Swift Back Forward List on those platforms.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/171345398>
adrian_taylor
Pull request: https://github.com/WebKit/WebKit/pull/59567
EWS
Committed 308443@main (7575438c4a97): <https://commits.webkit.org/308443@main>
Reviewed commits have been landed. Closing PR #59567 and removing active labels.