Skip to content

[BUG] Examples do not compile #1

@marolbrich

Description

@marolbrich

Describe the bug
E.g. example/task_manager_demo:

To Reproduce

  • "cd examples/task_manager_demo"
  • "trunk serve"
  • Many errors, starting with "This wasm target is unsupported by mio. If using Tokio, disable the net feature."

Expected behavior
That it compiles.

Actual behavior
Compiler errors occur.

Environment:

  • OS: Linux lubuntu
  • Rust Version: 1.90.0
  • Leptos Version: 0.8.4
  • leptos-sync-core Version: 0.8.0
  • trunk Version: 0.21.14

Additional context
I guess, the feature flags are not set correctly when distinguishing between wasm target and server target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions