File: fix-atomics.diff

package info (click to toggle)
rust-zvariant 5.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 840 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 252 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -219,6 +219,9 @@
 [dependencies.zvariant_utils]
 version = "3.2.0"
 
+[target.'cfg(not(target_has_atomic = "64"))'.dependencies]
+portable-atomic = "1"
+
 [dev-dependencies.chrono]
 version = "0.4.38"
 features = [