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

chore: prepare Tokio v1.8.4 #4237

Merged
merged 16 commits into from
Nov 16, 2021
Merged

chore: prepare Tokio v1.8.4 #4237

merged 16 commits into from
Nov 16, 2021

Commits on Nov 15, 2021

  1. Configuration menu
    Copy the full SHA
    0c83c37 View commit details
    Browse the repository at this point in the history
  2. oneshot: document UnsafeCell invariants (#4229)

    Depends on #4226
    
    ## Motivation
    
    Currently, the safety invariants and synchronization strategy used in
    `tokio::sync::oneshot` are not particularly obvious, especially to a new
    reader. It would be nice to better document this code to make these
    invariants clearer.
    
    ## Solution
    
    This branch adds `SAFETY:` comments to the `oneshot` channel
    implementation. In particular, I've focused on documenting the
    invariants around when the inner `UnsafeCell` that stores the value can
    be accessed by the sender and receiver sides of the channel.
    
    I still want to take a closer look at when the waker cells can be set,
    and I'd like to add more documentation there in a follow-up branch.
    
    Signed-off-by: Eliza Weisman <eliza@buoyant.io>
    hawkw committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    3877e71 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. chore: prepare Tokio v1.8.4 (#4237)

    # 1.8.4 (November 15, 2021)
    
    This release backports a bug fix from 1.13.1.
    
    ### Fixed
    
    - sync: fix a data race between `oneshot::Sender::send` and awaiting a
      `oneshot::Receiver` when the oneshot has been closed ([#4226])
    
    [#4226]: #4226
    hawkw committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    a6b447a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a609bb0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75cd90c View commit details
    Browse the repository at this point in the history
  4. tests: update Nix to 0.22.0 (#3951)

    asomers authored and hawkw committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    ba3b5bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c53695c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b8c899b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff2c6fc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cc947af View commit details
    Browse the repository at this point in the history
  9. macros: fix wrong error messages (#4067)

    c0va23 authored and hawkw committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    88ffea6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    82a1352 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bc15532 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    33680e6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9a5d086 View commit details
    Browse the repository at this point in the history
  14. chore: fix CI on master (#4008)

    Darksonn authored and hawkw committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    6917e5c View commit details
    Browse the repository at this point in the history