[ https://issues.apache.org/jira/browse/ARROW-11615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Moritz updated ARROW-11615: ----------------------------------- Summary: [Rust] DataFusion does not support wasm32-unknown-unknown target (was: DataFusion does not support wasm32-unknown-unknown target) > [Rust] DataFusion does not support wasm32-unknown-unknown target > ---------------------------------------------------------------- > > Key: ARROW-11615 > URL: https://issues.apache.org/jira/browse/ARROW-11615 > Project: Apache Arrow > Issue Type: Improvement > Components: Rust - DataFusion > Reporter: Dominik Moritz > Priority: Major > > The Arrow crate successfully compiles to WebAssembly (e.g. > https://github.com/domoritz/arrow-wasm) but the DataFusion crate currently > does not support the`wasm32-unknown-unknown` target. > Try out the repository at > https://github.com/domoritz/datafusion-wasm/tree/73105fd1b2e3ca6c32ec4652c271fb741bda419a. > > {code} > error[E0433]: failed to resolve: could not find `unix` in `os` > --> > /Users/dominik/.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` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/dirs-1.0.5/src/lin.rs:6:5 > | > 6 | use unix; > | ^^^^ no `unix` in the root > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:98:9 > | > 98 | sys::duplicate(self) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:101:9 > | > 101 | sys::allocated_size(self) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:104:9 > | > 104 | sys::allocate(self, len) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:107:9 > | > 107 | sys::lock_shared(self) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:110:9 > | > 110 | sys::lock_exclusive(self) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:113:9 > | > 113 | sys::try_lock_shared(self) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:116:9 > | > 116 | sys::try_lock_exclusive(self) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:119:9 > | > 119 | sys::unlock(self) > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:126:5 > | > 126 | sys::lock_error() > | ^^^ use of undeclared crate or module `sys` > error[E0433]: failed to resolve: use of undeclared crate or module `sys` > --> > /Users/dominik/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/lib.rs:169:5 > | > 169 | sys::statvfs(path.as_ref()) > | ^^^ use of undeclared crate or module `sys` > Compiling num-rational v0.3.2 > error: aborting due to 10 previous errors > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)