I have a Hello World WebAssembly and I tried to add some code to show the time.
The following line appears to kill the function and it returns nothing (no text, no error)
let dt = Utc::now();
If I comment out the line the function runs as before and returns a string.
Is this happening to anyone else?
I have the 2 lines below at the top of my rs file:
extern crate chrono;
use chrono::{Duration, Utc};
I have the following in the dependencies in the toml file:
chrono = "0.4"