Skip to content

failed to resolve futures_timer #843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
0x8f701 opened this issue Jul 25, 2020 · 2 comments
Closed

failed to resolve futures_timer #843

0x8f701 opened this issue Jul 25, 2020 · 2 comments

Comments

@0x8f701
Copy link

0x8f701 commented Jul 25, 2020

error[E0433]: failed to resolve: use of undeclared type or module `futures_timer`
  --> /home/cheng/.cargo/registry/src/gb.xjqchip.workers.dev-1ecc6299db9ec823/async-std-1.6.2/src/utils.rs:84:29
   |
84 |     pub(crate) struct Timer(futures_timer::Delay);
   |                             ^^^^^^^^^^^^^ use of undeclared type or module `futures_timer`

error[E0433]: failed to resolve: use of undeclared type or module `futures_timer`
  --> /home/cheng/.cargo/registry/src/gb.xjqchip.workers.dev-1ecc6299db9ec823/async-std-1.6.2/src/utils.rs:88:19
   |
88 |             Timer(futures_timer::Delay::new(dur))
   |                   ^^^^^^^^^^^^^ use of undeclared type or module `futures_timer`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0433`.
error: could not compile `async-std`.

To learn more, run the command again with --verbose.

with [email protected], while run cargo check on target wasm, it printed this error

@0x8f701
Copy link
Author

0x8f701 commented Aug 23, 2020

#861

@dignifiedquire
Copy link
Member

fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants