1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00

Replacing atomic_shim with portable-atomic, since atomic_shim worsk well for MIPS and MIPSEL, but has problem with some ARM flavours. (#1466)

This commit is contained in:
humaita-github 2025-02-14 20:16:29 +01:00 committed by GitHub
parent cf61ede6c6
commit 581c8d61ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 12 deletions

11
Cargo.lock generated
View file

@ -169,15 +169,6 @@ dependencies = [
"syn 2.0.96",
]
[[package]]
name = "atomic-shim"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67cd4b51d303cf3501c301e8125df442128d3c6d7c69f71b27833d253de47e77"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "atomic-waker"
version = "1.1.2"
@ -2142,7 +2133,6 @@ name = "librespot-playback"
version = "0.6.0-dev"
dependencies = [
"alsa",
"atomic-shim",
"cpal",
"futures-util",
"glib",
@ -2158,6 +2148,7 @@ dependencies = [
"log",
"ogg",
"parking_lot",
"portable-atomic",
"portaudio-rs",
"rand",
"rand_distr",

View file

@ -21,7 +21,7 @@ path = "../metadata"
version = "0.6.0-dev"
[dependencies]
atomic-shim = "0.2.0"
portable-atomic = "1"
futures-util = "0.3"
log = "0.4"
parking_lot = { version = "0.12", features = ["deadlock_detection"] }

View file

@ -1,4 +1,4 @@
use atomic_shim::AtomicU64;
use portable_atomic::AtomicU64;
use std::sync::atomic::Ordering;
use std::sync::Arc;