purpleprotocol / mimalloc_rust

A Rust wrapper over Microsoft's MiMalloc memory allocator
MIT License
503 stars 41 forks source link

Optionally compile override feature. #25

Closed rolftimmermans closed 4 years ago

rolftimmermans commented 4 years ago

I have found it very useful to set MI_OVERRIDE=ON when C/C++ code is used by Rust applications/libraries. This PR adds a feature to optionally enable this flag (default is false)

octavonce commented 4 years ago

@rolftimmermans Hi there and thanks for opening this PR! It looks great!