Skip to content

Compilation failure on 32-bit x86 GNU/Linux #141

@robertkirkman

Description

@robertkirkman

Hi, I tried to compile piccolo on 32-bit x86 GNU/Linux, but this error occurred:

error[E0308]: mismatched types
   --> src/stdlib/math.rs:348:65
    |
348 |                         *rng.borrow_mut() = SmallRng::from_seed(seed);
    |                                             ------------------- ^^^^ expected an array with a size of 16, found one with a size of 32
    |                                             |
    |                                             arguments to this function are incorrect
    |
note: associated function defined here
   --> /home/tacokoneko/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:319:8
    |
319 |     fn from_seed(seed: Self::Seed) -> Self;
    |        ^^^^^^^^^

For more information about this error, try `rustc --explain E0308`.
error: could not compile `piccolo` (lib) due to 1 previous error

Steps to reproduce:

git clone https://github.com/kyren/piccolo.git
cd piccolo
cargo build

This error also affects ottavino, which does not have issues permitted: https://github.com/lumen-oss/ottavino

Rust version: 1.88.0
Operating System: 32-bit x86 Debian GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions