[censored] ... just found out the hard way that executing SystemTime::now() inside #WebAssembly compiled by @rustlang will panic if you do an .expect() on the result :(
Is there a wasm-friendly way to get the time or do I need to make the host runtime expose that function?
-
-
This gets system time from the browser
I'm not in a browser host. This isn't really a std library issue, it's a syscall one. I've got a design to avoid that call so the limitation is actually useful
End of conversation
New conversation -
-
Sorry, thought that was you! ^^
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.