Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: 32 bit (ARM) Support #63

Open
Dretch opened this issue Mar 12, 2024 · 0 comments
Open

Feature Request: 32 bit (ARM) Support #63

Dretch opened this issue Mar 12, 2024 · 0 comments

Comments

@Dretch
Copy link

Dretch commented Mar 12, 2024

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?

@Dretch Dretch changed the title Feature Request:32 bit (ARM) Support Feature Request: 32 bit (ARM) Support Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant