[ 
https://issues.apache.org/jira/browse/ARROW-9088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132699#comment-17132699
 ] 

Neville Dipale commented on ARROW-9088:
---------------------------------------

I've made prettytable-rs optional, so once the PR is merged, you should be able 
to turn it off. I forgot that we removed libc at some point, so it didn't dawn 
on me that we can now compile arrow to wasm.

> [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
>            Assignee: Neville Dipale
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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 term->dirs which 
> causes this error
> consider making  prettytable-rs as dev dependency
>  



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

Reply via email to