Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10181

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Rust

    Description

      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`
       

      Attachments

        Issue Links

          Activity

            People

              andygrove Andy Grove
              andygrove Andy Grove
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h