Skip to content

generate custom-prefixed headers #415

@Fabian-Gruenbichler

Description

@Fabian-Gruenbichler

hi!

currently in the process of packaging zlib-rs for Debian, and based on feedback we got in an email discussion[0] I'd like to package libz-rs-sys-cdylib with a custom prefix. I can build that prefixed variant just fine, but there seems to be no way to generate a matching header file (or two, if we'd want to enable the gz feature as well?) that includes those prefixes. am I missing something, or is there no support for that (yet?)?

zlib-rs and libz-rs-sys are already on its way to unstable, so this is not a blocker for anything atm.

0: https://lists.debian.org/debian-rust/2025/10/msg00002.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions