mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #425] [MERGED] fix: 64-bit atomics for platforms with no 64-bit atomics #478
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/425
Author: @NoisyCoil
Created: 8/6/2024
Status: ✅ Merged
Merged: 8/9/2024
Merged by: @bootandy
Base:
master← Head:portable-64-bit-atomics📝 Commits (1)
b37593cfix: 64-bit atomics for platforms with no 64-bit atomics📊 Changes
2 files changed (+9 additions, -1 deletions)
View changed files
📝
Cargo.toml(+3 -0)📝
src/progress.rs(+6 -1)📄 Description
AtomicU64cannot be used on platforms without 64-bit atomics, such as armel. This PR adds a dependency on theportable-atomiccrate for those platforms, using the type of the same name defined in it. It introduces no changes for all other platforms (in particular, those on which dust currently builds are unchanged). I tested that this patch cross-builds to armel, and that all tests pass in an emulated armel environment.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.