Skip to content

AtomicU128/AtomicI128 not shown in std docs on rust-lang.org #130474

Closed

Description

@programmerjake

Location

https://doc.rust-lang.org/nightly/std/?search=AtomicU128

Summary

AtomicU128/AtomicI128 are hidden when the docs for std are built for the rust-lang website, I'm guessing this is likely because the website's docs are for x86_64-unknown-linux-gnu, which doesn't have 128-bit atomics due to not having the cmpxchg16b target feature enabled by default.

see also #99069

Activity

  1. added
    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
    on Sep 17, 2024
  2. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 17, 2024
  3. added
    A-atomicArea: Atomics, barriers, and sync primitives
    A-target-featureArea: Enabling/disabling target features like AVX, Neon, etc.
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    and removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 18, 2024
  4. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    on Mar 28, 2026
  5. wwenrr commented on Apr 1, 2026

    @wwenrr

    @rustbot claim

    Hi, I’d like to work on this issue. I’ll investigate why AtomicU128/AtomicI128 are hidden in the rust-lang std docs build and propose a small fix or documentation adjustment.

  6. wwenrr commented on Apr 1, 2026

    @wwenrr

    Opened a fix PR:

    Summary:

    • Include AtomicI128/AtomicU128 in rustdoc via cfg(any(doc, target_has_atomic_load_store = "128")).
    • This keeps runtime/target availability behavior unchanged, but makes the types visible in docs on rust-lang.org builds.
  7. pluiee commented on Apr 25, 2026

    @pluiee
    Contributor

    @rustbot claim

  8. added 3 commits that reference this issue on Jun 22, 2026
    2aaad5b
    a83f351
    3791e5e
  9. added 2 commits that reference this issue on Jun 29, 2026
    071adf5
    fbe7cd8
  10. added a commit that references this issue on Jun 29, 2026
    d65c49d
  11. added a commit that references this issue on Jul 11, 2026
    fb6c55b
  12. added a commit that references this issue on Jul 11, 2026
    110e1cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-atomicArea: Atomics, barriers, and sync primitivesA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-target-featureArea: Enabling/disabling target features like AVX, Neon, etc.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions