mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
5a8f82efb4
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
23 lines
725 B
Diff
23 lines
725 B
Diff
--- a/intl/icu_capi/Cargo.toml 2023-11-23 00:55:29.801649858 +0900
|
|
+++ b/intl/icu_capi/Cargo.toml 2023-11-23 00:57:49.528753911 +0900
|
|
@@ -190,19 +190,7 @@
|
|
"icu_timezone?/serde",
|
|
]
|
|
compiled_data = [
|
|
- "icu_calendar?/compiled_data",
|
|
- "icu_casemap?/compiled_data",
|
|
- "icu_collator?/compiled_data",
|
|
- "icu_datetime?/compiled_data",
|
|
- "icu_decimal?/compiled_data",
|
|
- "icu_displaynames?/compiled_data",
|
|
- "icu_list?/compiled_data",
|
|
- "icu_locid_transform?/compiled_data",
|
|
- "icu_normalizer?/compiled_data",
|
|
- "icu_plurals?/compiled_data",
|
|
- "icu_properties?/compiled_data",
|
|
"icu_segmenter?/compiled_data",
|
|
- "icu_timezone?/compiled_data",
|
|
]
|
|
cpp_default = ["logging"]
|
|
default = [
|