AtomicU64 availability
M1cha opened this issue · 1 comments
M1cha commented
on MIPS, AtomicU64
is not available and thus, this crate does not compile.
I could make a PR to fix that but first I need to know which solution you prefer:
- switch to
AtomicUsize
- use
#[cfg(target_arch)]
to useAtomicU32
for MIPS - use a 64bit Mutex
- use a Generic
Also, in my quick n' dirty solution where I did 1.
I then casted the resulting usize
to u64
so I don't have to change the whole API. How do we go about that?
tikue commented
Hey, thanks so much for bringing this up! I think I am fine with AtomicUsize
for calculating the next request ID. I support not changing the public API, since u64 is stable across platforms.