-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
AnsweredSomeone Solved this and its Left open so others can see the Answer.Someone Solved this and its Left open so others can see the Answer.
Description
when it is added to leptos project, and after running cargo leptos watch, the following error rises:
Compiling mio v0.8.11
unresolved import `crate::sys::IoSourceState`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/io_source.rs:12:5
|
12 | use crate::sys::IoSourceState;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys`
error[E0432]: unresolved import `crate::sys::tcp`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/net/tcp/listener.rs:15:17
|
15 | use crate::sys::tcp::{bind, listen, new_for_addr};
| ^^^ could not find `tcp` in `sys`
error[E0432]: unresolved import `crate::sys::tcp`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/net/tcp/stream.rs:13:17
|
13 | use crate::sys::tcp::{connect, new_for_addr};
| ^^^ could not find `tcp` in `sys`
error[E0433]: failed to resolve: could not find `Selector` in `sys`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/poll.rs:312:18
|
312 | sys::Selector::new().map(|selector| Poll {
| ^^^^^^^^ could not find `Selector` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/event/event.rs:24:14
|
24 | sys::event::token(&self.inner)
| ^^^^^ could not find `event` in `sys`
Any suggestion on how to resolve this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
AnsweredSomeone Solved this and its Left open so others can see the Answer.Someone Solved this and its Left open so others can see the Answer.