Closed
Description
Similar to smol-rs/async-executor#72
with blocking v1.5:
error[E0599]: no method named `get_or_init_blocking` found for struct `async_lock::OnceCell` in the current scope
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/blocking-1.5.0/src/lib.rs:170:37
|
170 | let executor = EXECUTOR.get_or_init_blocking(|| {
| ---------^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `get_or_init`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `blocking` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.
forcing to use version 1.4.1 makes compilation work again
Metadata
Metadata
Assignees
Labels
No labels