You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The api-client does currently not compile for 32bit architectures. As wasm typically compiles to 32bit we have to fix this first in order to continue with #272 .
The issue is due to a missing BitStore implementation for u64 on for 32bit architectures
See ferrilab/bitvec#75 and https://docs.rs/bitvec/latest/src/bitvec/store.rs.html#194
Compile error:
error[E0277]: the trait bound `u64: BitStore` is not satisfied
--> node-api/src/decoder/decode.rs:285:58
|
285 | (BitOrderTy::U64, BitStoreTy::Lsb0) => to_bit_sequence(BitVec::<u64, Lsb0>::decode(data)?),
| ^^^^^^^^^^^^^^^^^^^ the trait `BitStore` is not implemented for `u64`
error[E0599]: no method named `encode_to` found for struct `BitVec` in the current scope
--> node-api/src/decoder/encode.rs:567:53
|
567 | bools.into_iter().collect::<BitVec<u64, Msb0>>().encode_to(bytes);
| ^^^^^^^^^ method not found in `BitVec<u64, Msb0>`
The text was updated successfully, but these errors were encountered:
The api-client does currently not compile for 32bit architectures. As wasm typically compiles to 32bit we have to fix this first in order to continue with #272 .
The issue is due to a missing
BitStore
implementation foru64
on for 32bit architecturesSee ferrilab/bitvec#75 and https://docs.rs/bitvec/latest/src/bitvec/store.rs.html#194
Compile error:
The text was updated successfully, but these errors were encountered: