Upgrading from 0.14.0 to 0.14.1 breaks compatibility with wasm32-unknown-unknown
target
#118
Labels
bug
Something isn't working
wasm32-unknown-unknown
target
#118
puffin 0.14.1 introduces a new required wasm import
env::now
, that's apparently imported byinstant
. I suspect this is coming from the js-sys ecosystem, or it might even be a WASI standard. There should be a way to opt out of this, so one can usepuffin
inwasm32-unknown-unknown
environments too.It seems that 0.14.0 didn't depend at all on
instant
, so making the dependency oninstant
optional + reuse whatever was used before to retrieve the time, should be sufficient to fix this.The text was updated successfully, but these errors were encountered: