Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.0] Apply WASI support patch against ICU source tree (#35) #43

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

iCharlesHu
Copy link
Contributor

Explanation: restore WASI support to SwiftFoundationICU
Scope: Ensures SwiftFoundationICU, and by extension SwiftFoundation and SwiftCorelibsFoundation can build on WASI.
Original PR: #35
Risk: Medium - while this is a large change, it's isolated to WASI support and have been tested
Testing: Testing done via local SwiftPM, integration test with SwiftFoundation and integration tests with SwiftCorelibsFoundation
Reviewer: @MaxDesiatov

* Cherry-pick "ICU-22838 Add WebAssembly/WASI cross-compilation support"

The original patch is still under review in the upstream ICU project, but
it is needed to unblock the swift-foundation build on WebAssembly.

See unicode-org/icu#3067

* [Build] Update compile definitions for WASI target

`U_TIMEZONE` must not be defined and dynamic loading features must be
disabled for WASI target.
@iCharlesHu iCharlesHu merged commit be50023 into apple:release/6.0 Aug 7, 2024
@iCharlesHu iCharlesHu deleted the charles/fix-wasi-swift-6 branch August 7, 2024 17:17
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.

3 participants