Skip to content

Rayon 0.7.1 is broken #364

Closed
Closed
@olivia-fl

Description

@olivia-fl

Rayon 0.7.1 compilation fails with the following error:

error[E0432]: unresolved import `rayon_core::spawn_async`
  --> /home/benjamin/.cargo/registry/src/g.yxqyang.asia-1ecc6299db9ec823/rayon-0.7.1/src/lib.rs:41:9
   |
41 | pub use rayon_core::spawn_async;
   |         ^^^^^^^^^^^^^^^^^^^^^^^ no `spawn_async` in the root

error[E0432]: unresolved import `rayon_core::spawn_future_async`
  --> /home/benjamin/.cargo/registry/src/g.yxqyang.asia-1ecc6299db9ec823/rayon-0.7.1/src/lib.rs:43:9
   |
43 | pub use rayon_core::spawn_future_async;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `spawn_future_async` in the root. Did you mean to use `spawn_future`?

I assume that this is a dependency specification issue, as rayon-core was recently updated to change the name of spawn_async.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions