Skip to content

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

@asfimport

Description

@asfimport

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

 

Reporter: Sergey Todyshev
Assignee: Neville Dipale / @nevi-me

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-9088. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions