You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WASM link fails with SkiaSharp 4.155+ and the WebGPU backend: 'structInfo32' has already been declaredΒ #26253
SkiaSharp 4.155+ links its own copy of Dawn's emdawnwebgpu into every WebAssembly app. 4.155 passes it as link flags; 4.156+ compiles webgpu.cpp into libSkiaSharp.a and adds the JS libraries as js-library content. Uno's WebGPU backend links the same emdawnwebgpu release through --use-port, so emcc loads the same four JS libraries twice, and their build-time consts collide.
The SamplesApp always contains both backends, so the WASM build of the SkiaSharp bump (#26165, for #26179) fails in Build Wasm Skia Head.
Expected behavior π―
The app links with a single copy of emdawnwebgpu, and both Skia and the WebGPU backend render.
How to reproduce it (as minimally and precisely as possible) π¬
Publish the WebAssembly SamplesApp with SkiaSharpVersion set to 4.155.0 or 4.156.0-rc.1.26553.11:
None in an app; staying on SkiaSharp 4.151.1 avoids it.
Affected platforms π±π»π₯οΈ
WebAssembly
Uno.Sdk version (and other relevant versions) π¦
Uno master (7.x), SkiaSharp 4.155.0 / 4.156.0-rc.1.26553.11, emdawnwebgpu v20260624.223603.
IDE version π§βπ»
n/a
Anything else we need to know? π¬
Both copies are the same Dawn release and the same standard webgpu.h ABI as Uno's binding, so Uno can link SkiaSharp's copy instead of its own when SkiaSharp brings one.
Activity
fix(wasm): Link SkiaSharp's emdawnwebgpu when it brings one