Replies: 3 comments 1 reply
-
It seems that your error is the one from standard library: I suspect either your code or tokio is using unsupported std time feature in wasm even when tokio's time features is not used. |
Beta Was this translation helpful? Give feedback.
-
What are you trying to do in that code? We don't have functional timers on that platform due to platform limitations, so some things won't work right now unfortunately. |
Beta Was this translation helpful? Give feedback.
-
Update: I can see now that the panic is coming from inside of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've been trying to port some code I've been running as a native binary to the browser and I think I've gotten stuck. I'm trying to initialize the runtime like:
but I keep getting
time not implemented on this platform
when the worker launches. As far as I can tell from a combination of cargo hackerman explain and cargo build --timings output I have not enabled the time feature so I'm not sure where I'm going wrong. Any help would be greatly appreciated!Beta Was this translation helpful? Give feedback.
All reactions