purpleprotocol / mimalloc_rust

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

Fix mi_usable_size gating #122

Closed michel-slm closed 4 months ago

michel-slm commented 4 months ago

mi_usable_size was gated behind the extended feature in https://github.com/purpleprotocol/mimalloc_rust/commit/310ffbef61e6647e134b849a5616475ad7475c98#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759

but one test, it_calculates_usable_size was left behind in lib.rs.

Move it to extended.rs as well.