Use web-time crate instead of unmaintained instant crate#1006
Use web-time crate instead of unmaintained instant crate#1006therealprof wants to merge 2 commits intorhaiscript:mainfrom
web-time crate instead of unmaintained instant crate#1006Conversation
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
|
This breaks code because you removed the Also, is it good to always include |
|
Would you prefer blind feature flags or removing them from CI?
Honestly, I have no idea what the use case for the |
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
Well, removing them would be breaking, although we can keep an empty feature just for the sake of compatibility... I'm not hung up either way, just not break code.
I remember some user before having his own execution environment that is not a browser and not wasi... That is why |
Right, with the latest commit everything should be working as before. The supported list of targets in rustc is: I do know |
Well, I made it work because someone was doing exactly that -- making a generic WASM. So as much as possible we shouldn't make it breaking, and specifying I suggest putting Also, after you add back the flags, does it still compile with
If we deprecate |
|
I already added the flags back. The current build failure is also on |
|
With |
Yes, I know that. My point is that Maybe the solution will be to introduce yet another feature flag to switch to |
|
"support" is a strong word for passing a feature flag to a dependency. Technically people could still use the |
|
@schungx would like to know are there any progress on this? |
I think it is about time. We are removing |
|
Happy New Years! 🎉 I hope this gets merged soon! |
|
Do we get a confirmation whether it supports Had been a while. Let me find some time to redo this. There are changes made to |
|
I have merged #1063 which switches to Closing this PR. Thanks for everyone for your comments. |
The
instantmaintainer recommends switching toweb-timeinstead. This also replaces #968 (from which I've shamelessly stolen the getrandom change) and fixes #891.