Sergey Todyshev created ARROW-9088:
--------------------------------------

             Summary: [Rust] Recent version of arrow crate does not compile 
into wasm target
                 Key: ARROW-9088
                 URL: https://issues.apache.org/jira/browse/ARROW-9088
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust
            Reporter: Sergey Todyshev


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

compiler errors:

 
{noformat}
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{noformat}
the problem is that prettytable-rs dependency depends on dirs which causes this 
error

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to