I'm a little confused about the status of building libicu with the wasi-sdk. From the ICU sources https://github.com/unicode-org/icu/blob/main/icu4c/source/runConfigureICU there is no option for wasi, Linux with clang looks the closest. I also saw https://bugzilla.mozilla.org/show_bug.cgi?id=1706949 which is closed, but that is in a Mozilla bug tracker so not sure how it relates to wasi-sdk? Has anyone successfully build libicu with wasi-sdk ?
Have you seen https://github.com/unicode-org/icu4x?
http://blog.unicode.org/2022/09/announcing-icu4x-10.html
Thanks, that does look interesting. I will mark this complete as that looks like it has Wasm in its sights, even though I've not tried to build it with the wasi-sdk
I only remember the blog post mentioning Wasm. I just pulled the project and started poking around to see if this is only for web embeddings of Wasm
icu4c is one of the first projects I compiled using emscripten to ams.js back around 2013
While it might compile to wasm, I think it's missing wasi support.
error[E0432]: unresolved import `super::sysrand_chunk`
--> /Users/bhayes/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/rand.rs:306:16
|
306 | use super::sysrand_chunk::chunk;
| ^^^^^^^^^^^^^ could not find `sysrand_chunk` in `super`
Last updated: Dec 23 2024 at 12:05 UTC