diff --git a/Cargo.toml b/Cargo.toml index b774ab9..e53a456 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ features = ["derive"] version = "1.0.61" [dev-dependencies] -divan = "0.1.5" +divan = "0.1.8" insta = { version = "1.26.0", default-features = false } [dev-dependencies.quickcheck] diff --git a/benches/divan.rs b/benches/divan.rs index 8323060..ab6c48e 100644 --- a/benches/divan.rs +++ b/benches/divan.rs @@ -1,5 +1,8 @@ mod util; +#[global_allocator] +static ALLOC: divan::AllocProfiler = divan::AllocProfiler::system(); + fn main() { let _tracing = util::init_tracing();