Skip to content

Expose C header files via DEP_ environment variable #404

@jschwe

Description

@jschwe

Could libz-rs-sys add a build-script to expose the C header files by adding a:

println!("cargo:include={}/include", dst.to_str().unwrap());

This is done by libz-sys https://github.com/rust-lang/libz-sys/blob/1c2c7b04f585f86d9bd203bccf631a5dc2bdabc4/build.rs#L171, and users can read the DEP_<crate_name>_<key_name> environment variable in build scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions