gecko-dev/intl/icu4x-patches
Makoto Kato 5a8f82efb4 Bug 1854031 - Part 1. Update update-icu4x.sh script to import icu_capi to local and for datagen change. r=TYLin
Although since `icu_capi` uses weak dependency syntax, cargo vendor doesn't
recognize it. So this command will copy unnecessary crates. To avoid it, I
would like to use modified version of icu_capi.

And this has another issue. `icu_capi`'s C++ headers isn't compatible with
clang [*1]. So we need the workaround for it.

ICU4X 1.3 has another change for data provider with `icu_capi`.

From ICU4X 1.3, there are new `icu_*_data` crates to custom data file, instead
of `icu_testdata`. So we have to add each data crate if using `icu_capi`.

*1 https://github.com/llvm/llvm-project/issues/70162

Differential Revision: https://phabricator.services.mozilla.com/D192902
2023-12-04 09:02:27 +00:00
..
001-Cargo.toml.patch
002-GH4109.patch
empty.toml
README

### 001-Cargo.toml.patch

A patch for Cargo.toml of icu_capi. Remove weak dependencies of unnecessary crates.

### 002-GH4109.patch

A patch for icu_capi for clang and static analysis.

### empty.toml

Empty toml data for trie_data for icu_segmenter_data.