init_static 0.4.2

A Rust library for explicit static initialization.
Documentation
Build #2746493 2025-12-20 19:09:13
# rustc version
rustc 1.94.0-nightly (806c2a35d 2025-12-19)# docs.rs version
docsrs 0.6.0 (c9c56e32 2025-12-11 )# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/init_static-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/init_static-0.4.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251219-1.94.0-nightly-806c2a35d\", \"--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] 5a42177f3d183f3ca0b47e77a576392943bfd6c8d2b3dda9a77cc400be741dc6
[INFO] running `Command { std: "docker" "start" "-a" "5a42177f3d183f3ca0b47e77a576392943bfd6c8d2b3dda9a77cc400be741dc6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting init_static v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `init_static`
[INFO] [stderr]   --> src/init_static.rs:38:7
[INFO] [stderr]    |
[INFO] [stderr] 38 | /// [`init_static`]. Accessing an uninitialized value will panic.
[INFO] [stderr]    |       ^^^^^^^^^^^ no item named `init_static` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `InitStatic` is both a struct and a macro
[INFO] [stderr]   --> src/lib.rs:43:7
[INFO] [stderr]    |
[INFO] [stderr] 43 | /// [`InitStatic`] values.
[INFO] [stderr]    |       ^^^^^^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the struct, prefix with `struct@`
[INFO] [stderr]    |
[INFO] [stderr] 43 | /// [`struct@InitStatic`] values.
[INFO] [stderr]    |       +++++++
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]    |
[INFO] [stderr] 43 | /// [`InitStatic!`] values.
[INFO] [stderr]    |                 +
[INFO] [stderr] 
[INFO] [stderr] warning: `init_static` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/init_static/index.html
[INFO] running `Command { std: "docker" "inspect" "5a42177f3d183f3ca0b47e77a576392943bfd6c8d2b3dda9a77cc400be741dc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a42177f3d183f3ca0b47e77a576392943bfd6c8d2b3dda9a77cc400be741dc6", kill_on_drop: false }`
[INFO] [stdout] 5a42177f3d183f3ca0b47e77a576392943bfd6c8d2b3dda9a77cc400be741dc6