Skip to content

Can't build for 32-bit platforms #355

@giordano

Description

@giordano
error: any use of this value will cause an error
   --> git-bitmap/src/ewah.rs:114:46
    |
114 |     const RLW_LARGEST_RUNNING_COUNT: usize = (1 << RLW_RUNNING_BITS) - 1;
    |     -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^-----
    |                                              |
    |                                              attempt to shift left by `32_usize`, which would overflow
    |
    = note: `#[deny(const_err)]` on by default
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>

https://github.com/Byron/gitoxide/blob/7e76796d5c2956961bd998286bec05fca1ba8fc4/git-bitmap/src/ewah.rs#L114

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions