Time not implemented on this platform introduced when targeting webassembly
### Summary
Using rust libp2p latest master commit as a dependency worked until a few weeks ago, when, "time not implemented on this platform" surfaced as a runtime panic in rust webassembly, solely because of libp2p dependency development.
One safe revision to anchor to seems to be:
055186dc3b38f60ee4ff79d7ac71603f9e18124f
### Expected behavior
Just no error when using rust wasm
### Actual behavior
"time not implemented on this platform" rutime panic
### Relevant log output
```shell
```
### Possible Solution
_No response_
### Version
_No response_
### Would you like to work on fixing this bug?
Yes
1 条评论