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

[Rust] Recent version of arrow crate does not compile into wasm target

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • Rust

    Description

      arrow 0.16 compiles successfully into wasm32-unknown-unknown, but recent git version does not. it would be nice to fix that.

      compiler errors:

       

      error[E0433]: failed to resolve: could not find `unix` in `os`
          --> /home/regl/.cargo/registry/src/github.com-1ecc6299db9ec823/dirs-1.0.5/src/lin.rs:41:18
           |
        41 |     use std::os::unix::ffi::OsStringExt;
           |                  ^^^^ could not find `unix` in `os`
        
        error[E0432]: unresolved import `unix`
         --> /home/regl/.cargo/registry/src/github.com-1ecc6299db9ec823/dirs-1.0.5/src/lin.rs:6:5
          |
        6 | use unix;
          |     ^^^^ no `unix` in the root

      the problem is that prettytable-rs dependency depends on term->dirs which causes this error

      consider making  prettytable-rs as dev dependency

       

      Attachments

        Issue Links

          Activity

            People

              nevi_me Neville Dipale
              stodyshev Sergey Todyshev
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 50m
                  50m