Skip to content

Allow to link dynamically against system-provided mimalloc (use pkgconf) #73

@jirutka

Description

@jirutka

I wanted to package difftastic for Alpine Linux, but find out that it’s using bundled mimalloc library from this crate. Memory allocator is very security sensitive piece of software, using a bundled statically-linked alternative memory allocator is unacceptable for Alpine Linux, as well as for most other Linux distributions that care about security.

Can you please add support for building this crate against a system-provided mimalloc library (discovered via pkgconf) and fallback to the bundled copy of mimalloc only if not available?

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