Use MiMalloc in milli tests

This commit is contained in:
Loïc Lecrenier 2023-03-20 09:41:37 +01:00
parent 70c906d4b4
commit 6c659dc12f
3 changed files with 10 additions and 0 deletions

View file

@ -1,7 +1,15 @@
#![cfg_attr(all(test, fuzzing), feature(no_coverage))]
#![allow(unused, clippy::type_complexity)]
#[cfg(test)]
#[global_allocator]
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
#[macro_use]
pub mod documents;
pub use search::new;
mod asc_desc;
mod criterion;
mod error;