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:
parent
cf61ede6c6
commit
581c8d61ea
3 changed files with 3 additions and 12 deletions
11
Cargo.lock
generated
11
Cargo.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use atomic_shim::AtomicU64;
|
||||
use portable_atomic::AtomicU64;
|
||||
use std::sync::atomic::Ordering;
|
||||
use std::sync::Arc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue