I use block_on to run async code inside the synchronous exported functions to comply with generated bindings.
In my integration tests I want to
- Run some async code
- call the exported function
- Run some more async code
I cannot use wstd::test as it triggers "cannot wstd::runtime::block_on inside an existing block_on!", so I use regular tests and wrap step 1 and 3 with block_on. Is there a better way?