jit-allocator2 0.2.9

An executable code allocator. Fork for jit-allocator
Documentation

Build #4472450 2026-09-15 23:02:14

# rustc version rustc 1.100.0-nightly (574ff7d98 2026-09-14)

# docs.rs version docsrs 0.0.0 (5779ee8ca2c69daa652b2060f9f7b942ad62a4f0 2026-09-15 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "a3e97aba6825614112664ed0f349e0f249fd2d3c5dd74238f40348ae40a78f7c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260914-1.100.0-nightly-574ff7d98\", \"--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\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `jit-allocator2` (manifest) generated 1 warning [INFO] [stderr] Checking jit-allocator2 v0.2.9 (/opt/rustwide/workdir) [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/virtual_memory.rs:804:1 [INFO] [stderr] | [INFO] [stderr] 804 | / /// Allocates virtual memory and creates two views of it where the first view has no write access. This is an addition [INFO] [stderr] 805 | | /// to the API that should be used in cases in which the operating system either enforces W^X security policy or the [INFO] [stderr] 806 | | /// application wants to use this policy by default to improve security and prevent an accidental (or purposed) [INFO] [stderr] 807 | | /// self-modifying code. [INFO] [stderr] ... | [INFO] [stderr] 812 | | /// [INFO] [stderr] 813 | | /// Both pointers in `dm` would be set to `null` if the function fails. [INFO] [stderr] | |_______________________________________________________________________^ explicit target `release_dual_mapping` is redundant because label `release_dual_mapping` 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] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/virtual_memory.rs:804:1 [INFO] [stderr] | [INFO] [stderr] 804 | / /// Allocates virtual memory and creates two views of it where the first view has no write access. This is an addition [INFO] [stderr] 805 | | /// to the API that should be used in cases in which the operating system either enforces W^X security policy or the [INFO] [stderr] 806 | | /// application wants to use this policy by default to improve security and prevent an accidental (or purposed) [INFO] [stderr] 807 | | /// self-modifying code. [INFO] [stderr] ... | [INFO] [stderr] 812 | | /// [INFO] [stderr] 813 | | /// Both pointers in `dm` would be set to `null` if the function fails. [INFO] [stderr] | |_______________________________________________________________________^ explicit target `release` is redundant because label `release` 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] [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 10 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/jit_allocator2/index.html [INFO] running `Command { std: "docker" "inspect" "a3e97aba6825614112664ed0f349e0f249fd2d3c5dd74238f40348ae40a78f7c", kill_on_drop: false }`