mod-alloc 0.9.2

Allocation profiling for Rust. Counters, peak resident, and call-site grouping with inline backtrace capture. Zero external dependencies in the hot path. Lean dhat replacement targeting MSRV 1.75.
Documentation

Build #3289699 2026-05-14 16:08:23

# rustc version rustc 1.97.0-nightly (ff9a9ea07 2026-05-13)

# docs.rs version docsrs 0.0.0 (e3981f6f5e851656470d52001364bbb946056a06 2026-05-14 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/mod-alloc-0.9.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/mod-alloc-0.9.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "6442450944" "--cpuset-cpus" "26-31" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5dd1a327b5cc47648c4c9e2b793ededd7fa75c8d38c3fe7fe60edefb722b5698 [INFO] running `Command { std: "docker" "start" "5dd1a327b5cc47648c4c9e2b793ededd7fa75c8d38c3fe7fe60edefb722b5698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "5dd1a327b5cc47648c4c9e2b793ededd7fa75c8d38c3fe7fe60edefb722b5698" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260513-1.97.0-nightly-ff9a9ea07\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: mod-alloc@0.9.2: mod-alloc: the `backtraces` feature is enabled but RUSTFLAGS does not include `-C force-frame-pointers=yes`. The inline FP walker requires frame pointers; without them traces will be empty or shallow on release builds. Add to .cargo/config.toml: [build] rustflags = ["-C", "force-frame-pointers=yes"] [INFO] [stderr] Scraping mod-alloc v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Documenting mod-alloc v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/mod_alloc/index.html [INFO] running `Command { std: "docker" "stop" "-t" "1" "5dd1a327b5cc47648c4c9e2b793ededd7fa75c8d38c3fe7fe60edefb722b5698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dd1a327b5cc47648c4c9e2b793ededd7fa75c8d38c3fe7fe60edefb722b5698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd1a327b5cc47648c4c9e2b793ededd7fa75c8d38c3fe7fe60edefb722b5698", kill_on_drop: false }` [INFO] [stdout] 5dd1a327b5cc47648c4c9e2b793ededd7fa75c8d38c3fe7fe60edefb722b5698