Closed acgetchell closed 9 months ago
Confirmed!
The issue happens when compiling spade
in no-std environments with the serde
feature. serde
doesn't implement Serialize
and Deserialize
for the now used core::sync::atomic::AtomicUsize
. It does implement it for std::sync::atomic::AtomicUsize
though, leading to this confusing error.
I've simply skipped the serialization of that field as a workaround. Its value is only used as a hint, hence it doesn't really affect the functionality.
Issue is fixed in version 2.3.1 (just released)
Thanks for reporting this!
I updated from spade-2.2.1 to 2.3.0:
And now my project won't compile: