Skip to content
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

Try to avoid panics on buggy (?) clocks #8114

Merged
merged 1 commit into from
Apr 15, 2020

Commits on Apr 15, 2020

  1. Try to avoid panics on buggy (?) clocks

    Try to avoid panics with `Instant` by only performing infallible
    operations. This tweaks a comparison located in rust-lang#8042 to use `Instant`
    comparisons rather than `Duration` comparisons which should hopefully
    eliminate a source of panics in the face of buggy (maybe?) clocks.
    
    I'm not sure whether this actually fixes the original issue, but seeing
    that we have a pretty low chance of the issue recurring, it's probably
    fine to go ahead and say...
    
    Closes rust-lang#8042
    alexcrichton committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    be020a5 View commit details
    Browse the repository at this point in the history