[
https://issues.apache.org/jira/browse/ARROW-10181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jorge Leitão resolved ARROW-10181.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 8353
[https://github.com/apache/arrow/pull/8353]
> [Rust] Arrow tests fail to compile on Raspberry Pi (32 bit)
> -----------------------------------------------------------
>
> Key: ARROW-10181
> URL: https://issues.apache.org/jira/browse/ARROW-10181
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Reporter: Andy Grove
> Assignee: Andy Grove
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.
> {code:java}
> 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`
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)