diff --git a/third_party/rust_crates/forks/async-io/README.fuchsia b/third_party/rust_crates/forks/async-io/README.fuchsia index 9506808e6c6..a9d401be698 100644 --- a/third_party/rust_crates/forks/async-io/README.fuchsia +++ b/third_party/rust_crates/forks/async-io/README.fuchsia @@ -4,11 +4,9 @@ Description: async-io is used only on the host side to provide async usage of *nix IO primitives. -This is mainline, but will soon incorporate the patch from -https://github.com/smol-rs/async-io/pull/79/commits/71cd97d34ed8c652074b61ed4093b475e2fb4fdd -. +This is mainline with the patch from https://github.com/smol-rs/async-io/pull/79/commits/71cd97d34ed8c652074b61ed4093b475e2fb4fdd included. -This will be async-io mainline (~1.12.0) with a patch. +This is async-io mainline (~1.12.0) with a patch. There is nothing else special about this release the fork is cut from mainline. diff --git a/third_party/rust_crates/forks/async-io/src/reactor.rs b/third_party/rust_crates/forks/async-io/src/reactor.rs index 32a2a11c437..7a44a009af8 100644 --- a/third_party/rust_crates/forks/async-io/src/reactor.rs +++ b/third_party/rust_crates/forks/async-io/src/reactor.rs @@ -432,7 +432,7 @@ impl Source { panic::catch_unwind(|| w.wake()).ok(); } state[dir].waker = Some(cx.waker().clone()); - state[dir].ticks = Some((Reactor::get().ticker(), state[dir].tick)); + state[dir].ticks = Some((state[dir].tick, 0)); // Update interest in this I/O handle. if was_empty {