Skip to content

wasm-pack support #21

Closed
Closed
@glauserr

Description

@glauserr

The crate does not support to be compiled with wasm32-unknown-unknown. It there any will to add support for it in the close future?

$ wasm-pack build 

error[E0433]: failed to resolve: use of undeclared type or module `sys`
    --> /home/regl/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/errno-0.2.4/src/lib.rs:35:9
     |
  35 |         sys::with_description(*self, |desc| {
     |         ^^^ use of undeclared type or module `sys`
  
  error[E0433]: failed to resolve: use of undeclared type or module `sys`
    --> /home/regl/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/errno-0.2.4/src/lib.rs:46:9
     |
  46 |         sys::with_description(*self, |desc| match desc {
     |         ^^^ use of undeclared type or module `sys`
  
  error[E0433]: failed to resolve: use of undeclared type or module `sys`
    --> /home/regl/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/errno-0.2.4/src/lib.rs:50:25
     |
  50 |                 self.0, sys::STRERROR_NAME, fm_err.0),
     |                         ^^^ use of undeclared type or module `sys`
  
  error[E0433]: failed to resolve: use of undeclared type or module `sys`
    --> /home/regl/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/errno-0.2.4/src/lib.rs:69:5
     |
  69 |     sys::errno()
     |     ^^^ use of undeclared type or module `sys`
  
  error[E0433]: failed to resolve: use of undeclared type or module `sys`
    --> /home/regl/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/errno-0.2.4/src/lib.rs:74:5
     |
  74 |     sys::set_errno(err)
     |     ^^^ use of undeclared type or module `sys`
  

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions