opensrv
opensrv copied to clipboard
Feature Request: 32 bit (ARM) Support
I am trying to get greptimedb running on a Raspberry PI Zero 2W (512MB RAM, 64 bit processor but 32 bit PI OS seems to be recommended for stability).
Greptimedb depends on this library, which currently does not build on the PI, I think because it is a 32 bit system. The compilation error is:
Compiling opensrv-mysql v0.7.0 (/home/gareth/opensrv/mysql)
error[E0277]: the trait bound `u64: ToUsize` is not satisfied
--> mysql/src/commands.rs:76:44
|
76 | nom::bytes::complete::take(size)(i)?
| -------------------------- ^^^^ the trait `ToUsize` is not implemented for `u64`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `ToUsize`:
usize
u8
u16
u32
note: required by a bound in `nom::bytes::complete::take`
--> /home/gareth/.cargo/registry/src/index.crates.io-1cd66030c949c28d/nom-7.1.3/src/bytes/complete.rs:408:6
|
403 | pub fn take<C, Input, Error: ParseError<Input>>(
| ---- required by a bound in this function
...
408 | C: ToUsize,
| ^^^^^^^ required by this bound in `take`
Is there any chance of 32 bit support for this project?