-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not in a runtime context is not always true #270
Comments
Can you upload some code to help us reproduce? |
Sure I can try to put together a little example. I think basically the issue is that if you have a rust workspace with a library and a binary and they're both using different versions of tokio_uring it'll cause this |
Ah, I see, cargo is linking these as separate crates, so the 0.4.0 version doesn't see the runtime from the git version. |
Yeah it might just be a documentation issue to warn people. I realize what I'm doing is pretty far off the beaten path |
Not really, I just need to finish the in-progress work and get a release out. |
I'm importing a library that uses tokio_uring's upstream git version and if I try to spawn it with
tokio_uring::start
and the0.4.0
version it get an error saying: 'Not in a runtime context' which is not correct. I believe theexpect
calls are masking the actual issue.The text was updated successfully, but these errors were encountered: