-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SystemTime::elapsed()
is broken
#49
Comments
@sebcrozet Would you accept a PR for this? This was introduced in PR #42. The std implementation for SystemTime::elapsed is also like @justinlovinger points out: https://github.com/rust-lang/rust/blob/109cccbe4f345c0f0785ce860788580c3e2a29f5/library/std/src/time.rs#L554-L556 |
* Work around sebcrozet/instant#49 * Link to new issue
Wow this crate is so amazingly busted |
This is now fixed in version 0.1.13. |
Oh nice! |
self.duration_since(SystemTime::now())
, https://github.com/sebcrozet/instant/blob/master/src/wasm.rs#L202, should beSelf::now().duration_since(*self)
, likeInstant
.The text was updated successfully, but these errors were encountered: