Skip to content

[Rust] Arrow tests fail to compile on Raspberry Pi (32 bit) #26188

@asfimport

Description

@asfimport

Raspberry Pi still tends to use 32-bit operating systems although there is a beta 64 bit version of Raspbian. It would be nice to be able to at least disable these tests when runnign on 32-bit.

error: literal out of range for `usize`
   --> arrow/src/util/bit_util.rs:421:25
    |
421 |         assert_eq!(ceil(10000000000, 10), 1000000000);
    |                         ^^^^^^^^^^^
    |
    = note: `#[deny(overflowing_literals)]` on by default
    = note: the literal `10000000000` does not fit into the type `usize` whose range is `0..=4294967295`error: literal out of range for `usize`
   --> arrow/src/util/bit_util.rs:422:29
    |
422 |         assert_eq!(ceil(10, 10000000000), 1);
    |                             ^^^^^^^^^^^
    |
    = note: the literal `10000000000` does not fit into the type `usize` whose range is `0..=4294967295`error: literal out of range for `usize`
   --> arrow/src/util/bit_util.rs:423:25
    |
423 |         assert_eq!(ceil(10000000000, 1000000000), 10);
    |                         ^^^^^^^^^^^
    |
    = note: the literal `10000000000` does not fit into the type `usize` whose range is `0..=4294967295`
 

Reporter: Andy Grove / @andygrove
Assignee: Andy Grove / @andygrove

PRs and other links:

Note: This issue was originally created as ARROW-10181. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions