docs.rs failed to build stats_alloc-0.1.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
stats_alloc-0.1.10
stats_alloc
An instrumenting middleware for global allocators in Rust, useful in testing for validating assumptions regarding allocation patterns, and potentially in production loads to monitor for memory leaks.
Example
extern crate stats_alloc;
use ;
use System;
static GLOBAL: & = &INSTRUMENTED_SYSTEM;
Custom allocators
Currenty wrapping a custom allocator requires the use of the nightly compiler
and compiling with the "nightly" feature due to the use of the unstable
const_fn
and the fact that the internals of the instrumenting type are not
public. If that's fine with you, a custom allocator can be wrapped as follows:
static GLOBAL: = new;