Skip to content

AtomicU64 unresolved symbol #232

@flaviojs

Description

@flaviojs

AtomicU64 does not exist in some systems.

I was trying to compile sccache in a powerpc (32-bit) vm with ArchPOWER.
It failed because of this library:

...
   Compiling bb8 v0.8.6
error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
 --> /home/user/.cargo/registry/src/index.crates.io-9850fa1df3136423/bb8-0.8.6/src/internals.rs:3:25
  |
3 | use std::sync::atomic::{AtomicU64, Ordering};
  |                         ^^^^^^^^^
  |                         |
  |                         no `AtomicU64` in `sync::atomic`
  |                         help: a similar name exists in the module: `AtomicU32`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `bb8` (lib) due to 1 previous error
error: failed to compile `sccache v0.9.0`, intermediate artifacts can be found at `/tmp/cargo-installkWejfU`.
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions