Skip to content

run/build integration example for wasm #740

Description

@whiterabbit42k

I'm not sure how to build iced when using it in "integration" mode, e.g., similar to how the integration example works.

There's a number of problems just when targetting e.g., wasm32-unknown-unknown, mostly related to deps using memmap2, which are as i understand it:

  1. fontdb (optional)
  2. usvg (optional)
  3. smithay-client-toolkit (required)

so i think smithay-client-toolkit is the failing link here, at least from compile perspective.

Assuming these issues can be resolved, is there any other guidelines for how to accomplish this? it seems a reasonable usecase, since wgpu itself can target wasm32 without much issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions