Skip to content

Provide static feature #549

@el7cosmos

Description

@el7cosmos

Description

Description

Add a static feature to use bindgen’s static (https://docs.rs/crate/bindgen/latest/features#static)

Use Case

I'm building custom SAPI that provides static builds, which require the clang-sys static feature.

Example

My custom SAPI repo: https://github.com/el7cosmos/pasir. The static feature is statically linking dependencies. The static PHP library is built with https://static-php.dev/

Additional Context

  • I can try implementing this feature myself (please assign me to this issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions