espresso-sequencer icon indicating copy to clipboard operation
espresso-sequencer copied to clipboard

Add CI job to check compilation works with tokio

Open sveitser opened this issue 1 year ago • 1 comments

I think running cargo check is enough here.

env RUSTFLAGS='--cfg async_executor_impl="tokio" --cfg async_channel_impl="tokio"' cargo check

Not a high priority now because we'll make it less easy to mess up the RUSTFLAGS.

sveitser avatar Apr 30 '24 15:04 sveitser

Comment from @jbearer: ... if we want to run with tokio, we need to replace all our async_std::task_spawn with async_spawn from the compatibility layer, and similarly with all of our other explicit async_std references.

sveitser avatar May 02 '24 12:05 sveitser