atomig 0.4.2

Generic, convenient and lock-free `std` atomics via `Atomic<T>`. Can be used with many primitive types (including floats) and with custom types.
Documentation
Build #1396487 2024-10-18T15:34:06.354115+00:00
# rustc version
rustc 1.84.0-nightly (3ed6e3cc6 2024-10-17)# docs.rs version
docsrs 0.6.0 (1943e684 2024-10-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/atomig-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/atomig-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241017-1.84.0-nightly-3ed6e3cc6\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 9b87ae68ed551a6174f0c4b578fb0fd64ea933d8c42f0cdb85ea3a027ce1b112
[INFO] running `Command { std: "docker" "start" "-a" "9b87ae68ed551a6174f0c4b578fb0fd64ea933d8c42f0cdb85ea3a027ce1b112", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: custom_type, simple
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting atomig v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:312:23
[INFO] [stderr]     |
[INFO] [stderr] 312 | /// [`PrimitiveAtom`][impls::PrimitiveAtom], these two methods are a simple ID
[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] 312 | /// [`PrimitiveAtom`], these two methods are a simple ID
[INFO] [stderr]     |     ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `atomig` (lib doc) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/atomig/index.html
[INFO] running `Command { std: "docker" "inspect" "9b87ae68ed551a6174f0c4b578fb0fd64ea933d8c42f0cdb85ea3a027ce1b112", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b87ae68ed551a6174f0c4b578fb0fd64ea933d8c42f0cdb85ea3a027ce1b112", kill_on_drop: false }`
[INFO] [stdout] 9b87ae68ed551a6174f0c4b578fb0fd64ea933d8c42f0cdb85ea3a027ce1b112