mozjs: Remove vendored icu crates (#38803)

Instead of vendoring a copy of icu_capi, mozjs now instead determines
the location of the provided c header files by parsing the cargo
metadata output.
This will allow vendoring mozjs and is a step towards publishing mozjs
and thus servo again.
Corresponding mozjs PR: https://github.com/servo/mozjs/pull/596

Testing: Covered by existing tests

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender 2025-08-21 12:13:03 +02:00 committed by GitHub
parent 5cb1f37843
commit 7b4032e972
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 129 additions and 12 deletions

View file

@ -197,6 +197,11 @@ skip = [
# Remove when cexpr updates its nom version
# and bindgen updates the cexpr version
"nom",
# duplicated by `cargo metadata` as a build-dependency of mozjs-sys.
# Can be removed if `icu_capi` exposes the C include dir via the `DEP_`
# variable in the future.
"ordered-float",
]
# github.com organizations to allow git sources for