ICU-22838 Add WebAssembly/WASI cross-compilation support

* Add config/mh-wasi and update configure script.

  WebAssembly/WASI does not support threads and dynamic linking, so
  the new mh-wasi file disables those features in ICU.

* Teach putilimp.h not to define U_TZSET, U_TIMEZONE, and U_TZNAME for WASI

  WASI does not define timezone-related functionalities, and wasi-libc
  does not provide tzset, timezone, and tzname. This change teaches
  putilimp.h not to define U_TZSET, U_TIMEZONE, and U_TZNAME for WASI.

* Add GitHub Actions workflow to cross-compile ICU4C for WebAssembly/WASI
5 files changed
tree: 21c563e60965e5d8d6e02965a49d0750ab89de40
  1. .github/
  2. .mvn/
  3. docs/
  4. icu4c/
  5. icu4j/
  6. testdata/
  7. tools/
  8. vendor/
  9. .bazeliskrc
  10. .bazelrc
  11. .cpyskip.txt
  12. .gitattributes
  13. .gitignore
  14. CONTRIBUTING.md
  15. KEYS
  16. LICENSE
  17. pom.xml
  18. README.md
  19. SECURITY.md
  20. WORKSPACE
README.md

International Components for Unicode

This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.

ICU Logo

Build Status (main branch)

BuildStatus
GitHub Actions (ICU4C)GHA ICU4C
GitHub Actions (ICU4J)GHA ICU4J
GitHub Actions (Valgrind)GHA CI Valgrind
Exhaustive TestsExhaustive Tests for ICU
FuzzingFuzzing Status
OpenSSF ScorecardOpenSSF Scorecard

Subdirectories and Information

Copyright & Licenses

Copyright © 2016 and later: Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries. License & terms of use: https://www.unicode.org/copyright.html

A CLA is required to contribute to this project - please refer to the CONTRIBUTING.md file (or start a Pull Request) for more information.

The contents of this repository are governed by the Unicode Terms of Use and are released under LICENSE.