coroutine-rs icon indicating copy to clipboard operation
coroutine-rs copied to clipboard

Doesn't seem to build

Open installgentoo opened this issue 3 years ago • 1 comments

error[E0432]: unresolved import `std::boxed::FnBox`
  --> /_/code/.cache_rust/registry/src/github.com-1ecc6299db9ec823/coroutine-0.8.0/src/asymmetric.rs:25:5
   |
25 | use std::boxed::FnBox;
   |     ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed`

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /_/code/.cache_rust/registry/src/github.com-1ecc6299db9ec823/coroutine-0.8.0/src/lib.rs:25:12
   |
25 | #![feature(fnbox)]
   |            ^^^^^

error[E0635]: unknown feature `fnbox`
  --> /_/code/.cache_rust/registry/src/github.com-1ecc6299db9ec823/coroutine-0.8.0/src/lib.rs:25:12
   |
25 | #![feature(fnbox)]
   |            ^^^^^

after adding it to toml.

installgentoo avatar Dec 10 '22 14:12 installgentoo

You should use Rust's builtin coroutine.

zonyitoo avatar Dec 10 '22 15:12 zonyitoo