Closed
Description
How to reproduce:
- Clone async-executor
cargo build --target=wasm32-unknown-unknown
This leads to:
error[E0599]: no method named `get_or_init_blocking` found for struct `async_lock::OnceCell` in the current scope
--> src/lib.rs:266:20
|
266 | self.state.get_or_init_blocking(|| Arc::new(State::new()))
| ^^^^^^^^^^^^^^^^^^^^ 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 `async-executor` (lib) due to previous error
Version 1.6 was compiling for wasm32-unknown-unknown just fine.
Metadata
Metadata
Assignees
Labels
No labels