jit-allocator2 0.2.9

An executable code allocator. Fork for jit-allocator
Documentation
Build #2980649 2026-03-07 22:52:26

# rustc version rustc 1.96.0-nightly (80282b130 2026-03-06)

# docs.rs version docsrs 0.0.0 (3c601d69 2026-03-07 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder3/builds/jit-allocator2-0.2.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder3/builds/jit-allocator2-0.2.9/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-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" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260306-1.96.0-nightly-80282b130\", \"--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: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac5e7785b6f55db8dad980bb338578437e6295b4683cfb3c5d32807f0f1d9ad5 [INFO] running `Command { std: "docker" "start" "-a" "ac5e7785b6f55db8dad980bb338578437e6295b4683cfb3c5d32807f0f1d9ad5", kill_on_drop: false }` [INFO] [stderr] Scraping jit-allocator2 v0.2.9 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "simple" in package `jit-allocator2` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `jit-allocator2` (example "simple") generated 1 warning [INFO] [stderr] Documenting jit-allocator2 v0.2.9 (/opt/rustwide/workdir) [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/virtual_memory.rs:235:57 [INFO] [stderr] | [INFO] [stderr] 235 | /// Values that can be used with [`protect_jit_memory`](protect_jit_memory) function. [INFO] [stderr] | -------------------- ^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 235 - /// Values that can be used with [`protect_jit_memory`](protect_jit_memory) function. [INFO] [stderr] 235 + /// Values that can be used with [`protect_jit_memory`] function. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocator.rs:33:34 [INFO] [stderr] | [INFO] [stderr] 33 | /// See [alloc_dual_mapping](crate::virtual_memory::alloc_dual_mapping) for more details about this feature. [INFO] [stderr] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 33 - /// See [alloc_dual_mapping](crate::virtual_memory::alloc_dual_mapping) for more details about this feature. [INFO] [stderr] 33 + /// See [alloc_dual_mapping] for more details about this feature. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocator.rs:536:74 [INFO] [stderr] | [INFO] [stderr] 536 | /// A simple implementation of memory manager that uses [virtual_memory](crate::virtual_memory). [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 536 - /// A simple implementation of memory manager that uses [virtual_memory](crate::virtual_memory). [INFO] [stderr] 536 + /// A simple implementation of memory manager that uses [virtual_memory]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `alloc` is both a function and a crate [INFO] [stderr] --> src/virtual_memory.rs:64:42 [INFO] [stderr] | [INFO] [stderr] 64 | /// This flag can only be used with [alloc], `MAP_JIT` only works on OSX and not on iOS. [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 64 | /// This flag can only be used with [alloc()], `MAP_JIT` only works on OSX and not on iOS. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the crate, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 64 | /// This flag can only be used with [mod@alloc], `MAP_JIT` only works on OSX and not on iOS. [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `alloc` is both a function and a crate [INFO] [stderr] --> src/virtual_memory.rs:73:42 [INFO] [stderr] | [INFO] [stderr] 73 | /// This flag can only be used with [alloc] and [alloc_dual_mapping]. [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 73 | /// This flag can only be used with [alloc()] and [alloc_dual_mapping]. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the crate, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 73 | /// This flag can only be used with [mod@alloc] and [alloc_dual_mapping]. [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `alloc` is both a function and a crate [INFO] [stderr] --> src/virtual_memory.rs:83:42 [INFO] [stderr] | [INFO] [stderr] 83 | /// This flag can only be used with [alloc] and [alloc_dual_mapping]. [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 83 | /// This flag can only be used with [alloc()] and [alloc_dual_mapping]. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the crate, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 83 | /// This flag can only be used with [mod@alloc] and [alloc_dual_mapping]. [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `alloc` is both a function and a crate [INFO] [stderr] --> src/virtual_memory.rs:93:42 [INFO] [stderr] | [INFO] [stderr] 93 | /// This flag can only be used with [alloc] and [alloc_dual_mapping]. [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 93 | /// This flag can only be used with [alloc()] and [alloc_dual_mapping]. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the crate, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 93 | /// This flag can only be used with [mod@alloc] and [alloc_dual_mapping]. [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `alloc` is both a function and a crate [INFO] [stderr] --> src/virtual_memory.rs:117:42 [INFO] [stderr] | [INFO] [stderr] 117 | /// This flag can only be used with [alloc]. [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 117 | /// This flag can only be used with [alloc()]. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the crate, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 117 | /// This flag can only be used with [mod@alloc]. [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `jit-allocator2` (lib doc) generated 8 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/jit_allocator2/index.html [INFO] running `Command { std: "docker" "inspect" "ac5e7785b6f55db8dad980bb338578437e6295b4683cfb3c5d32807f0f1d9ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5e7785b6f55db8dad980bb338578437e6295b4683cfb3c5d32807f0f1d9ad5", kill_on_drop: false }` [INFO] [stdout] ac5e7785b6f55db8dad980bb338578437e6295b4683cfb3c5d32807f0f1d9ad5