|
Ran
|
Files
983
|
Run time
38s
|
Badge
README BADGES
|
push
github
icu_capi: Allow consumers to determine bindings directories (#6887) This allows consumers of `icu_capi` to determine the location of the include directories by reading the `DEP_` environment variable cargo will set. Currently, consumers need to invoke `cargo metadata` to determine the header file location, which can be quite expensive. After this PR, consumers could directly read the environment variable that cargo sets. This approach is already used in other bindings libraries, e.g. [in libz-sys](https://github.com/rust-lang/libz-sys/blob/1c2c7b04f/build.rs#L171) (the syntax is a little different, since they support an older MSRV, see the MSRV note in the [cargo documentation](https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key)) Fixes #6769 --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
60082 of 82475 relevant lines covered (72.85%)
486842.32 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|