Skip to content

[CPF] Reuse Foundation geometry on WASI#19

Merged
gn-adin-b merged 1 commit into
mainfrom
adin/reuse-foundation-geometry-on-wasi
Jul 23, 2026
Merged

[CPF] Reuse Foundation geometry on WASI#19
gn-adin-b merged 1 commit into
mainfrom
adin/reuse-foundation-geometry-on-wasi

Conversation

@gn-adin-b

Copy link
Copy Markdown

What is the goal?

Prevent ambiguous CGFloat, CGPoint, CGSize, and CGRect lookups when WASI consumers import both Foundation and SVGView.

How is it being implemented?

  • Reuse Foundation geometry types on WASI.
  • Keep Double serialization available after CGFloat becomes Foundation-backed.
  • Verify Foundation and SVGView expose the same geometry types.

Testing

  • swift test --filter CoreGraphicsPolyfillTests
  • WASI consumer build importing Foundation and SVGView
  • swift format lint on changed files

@gn-adin-b
gn-adin-b requested a review from gn-lluis-u July 23, 2026 06:32
@gn-adin-b
gn-adin-b merged commit e1514b1 into main Jul 23, 2026
2 checks passed
@gn-adin-b
gn-adin-b deleted the adin/reuse-foundation-geometry-on-wasi branch July 23, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants