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

rt: remove Arc from Clock #5434

Merged
merged 7 commits into from Feb 7, 2023
Merged

rt: remove Arc from Clock #5434

merged 7 commits into from Feb 7, 2023

Commits on Feb 6, 2023

  1. rt: remove Arc from Clock

    This patch removes `Arc` from Tokio's internal clock source. Instead of
    cloning `Clock` when needed, a reference is passed into functions that
    need to get the current instant.
    carllerche committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    24a7d93 View commit details
    Browse the repository at this point in the history
  2. fix unit tests

    carllerche committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    3bb4ced View commit details
    Browse the repository at this point in the history
  3. fix tests, maybe

    carllerche committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    24cf151 View commit details
    Browse the repository at this point in the history
  4. fix clippy

    carllerche committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    491e3be View commit details
    Browse the repository at this point in the history
  5. try again

    carllerche committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    c0bf43f View commit details
    Browse the repository at this point in the history
  6. no panic in closures

    carllerche committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    2dfe45a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dba7371 View commit details
    Browse the repository at this point in the history