forked from libp2p/rust-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace `atomic::Atomic<u64>` by `std::sync::atomic:AtomicU64`. The original motivation of using `atomic::Atomic<u64>` instead of `std`'s version in libp2p#1670 was the following: > I used the atomic crate and an Atomic<u64> because the AtomicU64 type > isn't available on all architectures. The atomic crate automatically > falls back to using a Mutex on platforms that don't support AtomicU64. This argumentation is moot because the crate directly depends on `libp2p-core` which also uses `AtomicU64`.
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters