You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A seemingly spurrious higher-ranked lifetime error is being generated
on Rust 1.75.0 in wasmbus while launching the provider task.
As this code compiled just fine prior to Rust 1.75.0 (released
2023/12/21), this seems to be a spurrious error, for which there is
some tracking upstream:
rust-lang/rust#110338
Assuming this error *is* spurrious, we can shuffle the work via
`tokio::task::spawn_blocking` to avoid the error, causing the work
that was going to be done in a distinct thread.
This commit fixes a higher-ranked lifetime error by using tokio to
force execution on a separate thread which seemingly recalculates
lifetimes due to the the synchronous move closure.
Signed-off-by: Victor Adossi <[email protected]>
0 commit comments