Skip to content

Unable to build when targeting wasm32-unknown-emscripten platform #642

@Kvikal

Description

@Kvikal

I am currently unable to build mio when targeting wasm32-unknown-emscripten platform.

I am using current Rust nightly.

I receive following errors:

error[E0432]: unresolved import `self::unix::Events`
 --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.6.10/src/sys/mod.rs:5:5
  |
5 |     Events,
  |     ^^^^^^ no `Events` in `sys::unix`

error[E0432]: unresolved import `self::unix::Selector`
 --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.6.10/src/sys/mod.rs:7:5
  |
7 |     Selector,
  |     ^^^^^^^^ no `Selector` in `sys::unix`

I have not delved too much into WASM/Rust yet, so I am not sure if this should even work or if this is the right place to report this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions