Skip to content

Commit 42916f6

Browse files
committed
Depend on portable-atomic only on platforms without 64-bit atomics
1 parent 9ff9642 commit 42916f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gix-status/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ gix-diff = { version = "^0.44.0", path = "../gix-diff", default-features = false
3434
thiserror = "1.0.26"
3535
filetime = "0.2.15"
3636
bstr = { version = "1.3.0", default-features = false }
37-
portable-atomic = "1"
3837

3938
document-features = { version = "0.2.0", optional = true }
4039

40+
[target.'cfg(not(target_has_atomic = "64"))'.dependencies]
41+
portable-atomic = "1"
42+
4143
[package.metadata.docs.rs]
4244
features = ["document-features", "worktree-rewrites"]

0 commit comments

Comments
 (0)