alexcrichton / xz2-rs

Bindings to liblzma in Rust (xz streams in Rust)
Apache License 2.0
83 stars 51 forks source link

build.rs declares output directory to cargo #66

Closed koutheir closed 4 years ago

koutheir commented 4 years ago

By declaring the directory where liblzma is built to cargo, a dependent crate can use that built library when linking native non-Rust code by an external build system. The environment variable DEP_LZMA_ROOT would allow access to the built liblzma.

koutheir commented 4 years ago

The only build failure results of a network error. Does that disallow merging of this pull request?

alexcrichton commented 4 years ago

Looks good to me, thanks!