Skip to content

Using stock mimalloc? #13

@hpreusse

Description

@hpreusse

The source/libraries/readme.txt says:

In mimalloc we need to patch init.c: #if defined(_M_X64) || defined(_M_ARM64) to get rid of a link
error as well as in options.c some snprint issue with the mingw64 cross compiler: 

/* HH */ snprintf(tprefix, sizeof(tprefix), "%sthread 0x%x: ", prefix, (unsigned) _mi_thread_id()); /* HH: %z is unknown */

When comparing the included source code of mimalloc with the original code it seem, you use an unmodified version of mimalloc, so I could dynamically link with mimalloc, instead of using the included version.

Would be nice if you could update the readme, if my assumption is correct. Thanks!

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