Skip to content

Can't build tour example for wasm32, pulling in net2 as dependency #145

@tarkah

Description

@tarkah

When trying to build the tour example for wasm32 cargo build --example tour --target wasm32-unknown-unknown, I am getting a compilation error due to it trying to compile the net2 library. This dependency appears to be pulled in by window_clipboard in iced_winit, which seems like a relatively recent addition.

window_clipboard v0.1.0-alpha.2 (https://github.com/hecrj/window_clipboard?rev=22c6dd6c04cd05d528029b50a30c56417cd4bebf#22c6dd6c)
├── clipboard_wayland v0.1.0-alpha (https://github.com/hecrj/window_clipboard?rev=22c6dd6c04cd05d528029b50a30c56417cd4bebf#22c6dd6c)
│   └── smithay-clipboard v0.3.6
│       └── smithay-client-toolkit v0.6.4
│           ├── wayland-client v0.23.6
│           │   ├── calloop v0.4.4
│           │   │   ├── mio v0.6.21
│           │   │   │   ├── net2 v0.2.33

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions