Draft: Use cargo provided icu_capi #596
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Using vendored rust crates causes problems with
cargo vendor
and offline builds as well as cargo publish.Using
cargo metadata
is currently the officially recommended solution to get the location of the c header files, but ideally we add a patch upstream to support reading the location from aDEP_
environment variable, that cargo could set for us (posted unicode-org/icu4x#6769).For ease of reviewing the changes to the build system and removing the now unnecessary vendored code are separate commits.
Todo:
LOCAL_INCLUDES
, or do we need to inject-I
globally (current solution)