Bug 291363

Summary: GenerateTAPI failure with ENABLE_WEBGPU_SWIFT enabled
Product: WebKit Reporter: adrian_taylor
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: emw
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2025-04-10 06:00:43 PDT
Reproduced with internal code, but this should be the open source equivalent steps: 1. OpenSource version e6f5defca40f979f3d4777bc51cfd25795f90e31 2. In OpenSource directory, create LocalOverrides.xcconfig and put “ENABLE_WEBGPU_SWIFT = ENABLE_WEBGPU_SWIFT” inside 3. make debug Results: ** BUILD FAILED ** The following build commands failed: GenerateTAPI WebKitBuild/Debug/WebGPU.framework/Versions/A/WebGPU.tbd normal arm64e (in target 'WebGPU' from project 'WebGPU') Building workspace WebKit with scheme Everything up to WebKit + Tools and configuration Debug (2 failures) Due to GenerateTAPI WebKitBuild/Debug/WebGPU.framework/Versions/A/WebGPU.tbd normal arm64e (in target 'WebGPU' from project 'WebGPU') cd Source/WebGPU <snip> error: swift generated text based file doesn't have symbol '__C_Synthesized.__defaultArg_1__ZNK6WebGPU6Device16safeCreateBufferEmb() -> Swift.Bool', but found in dynamic library error: swift generated text based file doesn't have symbol '__C_Synthesized.__defaultArg_3__ZNK6WebGPU6Device18newBufferWithBytesEPKvmmb() -> Swift.Bool', but found in dynamic library error: swift generated text based file doesn't have symbol '__C_Synthesized.__defaultArg_3__ZNK6WebGPU6Device24newBufferWithBytesNoCopyEPvmmb() -> Swift.Bool', but found in dynamic library
Attachments
adrian_taylor
Comment 1 2025-04-10 06:00:56 PDT
Alexey Proskuryakov
Comment 2 2025-04-10 15:46:47 PDT
EWS
Comment 3 2025-04-23 02:00:36 PDT
Committed 293999@main (3fce852ff4e4): <https://commits.webkit.org/293999@main> Reviewed commits have been landed. Closing PR #43896 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.