Skip to content

[mono] Initial static ICU implementation for wasm #38057

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

Closed
wants to merge 2 commits into from

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Jun 17, 2020

Steps to try it:
clone ICU repo and build it via the following script:
https://github.com/kg/mono/blob/wasm-libicu/sdks/wasm/icu/build-icu.sh
set export ICU_REPO=path/to/icu/repo

build dotnet/runtime for wasm.

cc @kg

@vargaz
Copy link
Contributor

vargaz commented Jun 17, 2020

Why is this needed ? Why can't we just link icu into the final wasm executable ?

@kg kg added NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it labels Jun 17, 2020
@EgorBo
Copy link
Member Author

EgorBo commented Jun 18, 2020

@vargaz I am not sure I understand what you mean, the __Internal changes will be removed once Thays's PR for QCalls is merged. The rest is just to link static ICU files into the build (not only wasm but also supports desktop mono for tests)
We don't have a separate libSystem.Globalization.dylib any more and the ICU shim was merged into runtime a while ago.

@EgorBo EgorBo force-pushed the static-icu-link branch from e73f3eb to 3fa2c2a Compare June 25, 2020 08:29
@EgorBo
Copy link
Member Author

EgorBo commented Jun 29, 2020

Closing due to #37971

@EgorBo EgorBo closed this Jun 29, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Build-mono NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants