Replies: 2 comments 2 replies
-
Reproducible PR: vercel/next.js#50401 |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can make sure WASIX and your calling code share the same Tokio runtime by passing let tasks = TokioTaskManager::new(Handle::current());
let rt = PluggableRuntime::new(Arc::new(tasks)); We've got a bunch of integration tests that run with wasmer/lib/wasi/tests/runners.rs Lines 218 to 229 in c2867bb That avoids most of the "Cannot start a runtime from within a runtime" panics. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Stack:
I'm trying to integrate existing runner logics into different implementation. The existing runtime seems having an initialized tokio runtime, which looks like causing a conflict when wasix trying to do the same thing.
Am I understanding the issue correctly? and is there way to avoid / workaround this?
Beta Was this translation helpful? Give feedback.
All reactions