purpleprotocol / mimalloc_rust

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

Add `debug_in_debug` feature #74

Closed maxded closed 2 years ago

maxded commented 2 years ago

When using the newly introduced debug feature we've noticed that it can be quite desirable to always run with the feature enabled in debug configurations. This change adds a new feature debug_in_debug that will automatically enabled mimalloc's debug mode when running a debug configuration. Hope this is a welcomed change! :)