Commit Graph
56 Commits
Author SHA1 Message Date
ADD-SPandGitHub eb4988dc2e time: fix the loom test of the race between cancellation/insertion (#8302) 2026-07-20 19:10:31 +08:00
da044f27d7 net: disable some Miri tests for TCP socket (#8205)
Co-authored-by: Alice Ryhl <[email protected]>
2026-06-12 10:12:08 +08:00
Qiqi ZhangandGitHub 37ced33efd time: ensure timers stay in the same runtime after .reset() (#8169) 2026-05-26 10:29:50 +08:00
ADD-SPandGitHub 961757f548 ci: freeze rustc on 1.93.1 (#7961) 2026-03-09 07:43:48 +01:00
ADD-SPandGitHub 0273e45ead chore: prepare Tokio v1.50.0 (#7934) 2026-03-03 10:39:42 +01:00
ADD-SPandGitHub e3ee4e58dc chore: prepare tokio-macros v2.6.1 (#7943) 2026-03-02 19:17:41 +01:00
ADD-SPandGitHub d18e5dfbb0 io: fix race in Mock::poll_write (#7882) 2026-02-23 20:49:37 -08:00
ADD-SPandGitHub f21f2693f0 runtime: fix race condition during the blocking pool shutdown (#7922) 2026-02-23 22:50:27 +01:00
ADD-SPandGitHub c23735d43b runtime: fix TOCTOU issue when decreasing num_idle_threads (#7918) 2026-02-17 21:50:26 -08:00
ADD-SPandGitHub 0d6c7af3e4 runtime: wake deferred tasks before entering block_in_place (#7879) 2026-02-03 14:07:09 +01:00
QiandAlice Ryhl ea6b144cd1 ci: freeze rustc on nightly-2025-01-25 in netlify.toml (#7652)
Signed-off-by: ADD-SP <[email protected]>
2026-01-02 20:49:12 +01:00
QiandAlice Ryhl 264e703296 Merge tokio-1.43.4 into tokio-1.47.x (#7822) 2026-01-02 20:11:03 +01:00
Qi dfb0f00838 chore: prepare Tokio v1.43.4 (#7821) 2026-01-03 01:52:06 +08:00
Qi 4a91f197b0 ci: fix wasm32-wasip1 tests (#7788)
(cherry picked from commit 1b17a7e241)
2026-01-03 01:32:50 +08:00
QiandGitHub 1b17a7e241 ci: fix wasm32-wasip1 tests (#7788) 2025-12-24 10:07:28 +08:00
QiandGitHub 064181f386 io: add tokio_util::io::simplex (#7565)
Signed-off-by: ADD-SP <[email protected]>
2025-12-18 20:35:01 +08:00
009a2567d0 sync: clarify the cancellation safety of oneshot::Receiver (#7780)
Signed-off-by: ADD-SP <[email protected]>
Co-authored-by: Alice Ryhl <[email protected]>
2025-12-18 19:21:59 +08:00
QiandGitHub 12412afea4 deps: bump tokio to 1.44.0 (#7733) 2025-11-13 11:47:34 +02:00
QiandGitHub d709df2571 ci: bump miri to nightly-2025-11-09 (#7726) 2025-11-09 18:53:16 +02:00
QiandGitHub 665f08b5ad tokio: enable the unsafe_op_in_unsafe_fn lint at the crate level (#7711)
Signed-off-by: ADD-SP <[email protected]>
2025-11-09 12:35:08 +01:00
QiandGitHub 1ece2f1fa7 task: remove unnecessary trait bounds on the Debug implementation (#7720)
Remove the trait bounds of the `Debug` impl for `JoinQueue`
and `AbortOnDropHandle`.

Signed-off-by: ADD-SP <[email protected]>
2025-11-04 11:15:29 +01:00
QiandGitHub 454fd8c347 chore: prepare tokio-util v0.7.17 (#7719)
Signed-off-by: ADD-SP <[email protected]>
2025-11-02 15:33:25 +01:00
QiandGitHub b8318fa172 task: add tests for spawn_local in panic scenarios (#7694)
Signed-off-by: ADD-SP <[email protected]>
2025-10-20 20:25:00 +08:00
Qi 3762a6a990 chore: prepare Tokio v1.47.2 (#7681)
Signed-off-by: ADD-SP <[email protected]>
2025-10-15 01:12:04 +08:00
Qi 308e3e6871 ci: add lockfile for LTS branch
This is to lock the following dependencies:

- `parking_lot_core` to `0.9.11`
- `parking_lot` to `0.12.4`
- `lock_api` to `0.4.13`

See <https://github.com/tokio-rs/tokio/issues/7653>
for more details.

Signed-off-by: ADD-SP <[email protected]>
2025-10-15 00:12:53 +08:00
Qi 5a1879c2d0 Merge 'tokio-1.43.3' into 'tokio-1.47.x' 2025-10-15 00:10:36 +08:00
Qi de6ef21a81 chore: prepare Tokio v1.43.3
Signed-off-by: ADD-SP <[email protected]>
2025-10-14 22:54:10 +08:00
Qi 90551d234f deps: bump the locked slap to 0.4.11
Signed-off-by: ADD-SP <[email protected]>
2025-10-14 22:54:09 +08:00
Qi bd4c3dddca deps: bump the locked tracing-subscriber to 0.3.20
Signed-off-by: ADD-SP <[email protected]>
2025-10-14 22:54:09 +08:00
Qi 4fee6e3500 ci: update macros_type_mismatch for Rust 1.90.0 (#7630)
Signed-off-by: ADD-SP <[email protected]>
(cherry picked from commit 2af3e4430a)
2025-10-14 22:13:54 +08:00
d1f1499f63 tokio: use cargo feature for taskdump support instead of cfg (#7655)
Signed-off-by: ADD-SP <[email protected]>
Co-authored-by: Alice Ryhl <[email protected]>
2025-10-10 11:31:41 +08:00
QiandGitHub ffcc9f7c95 tokio: fix the docs of feature flag (#7663)
Signed-off-by: ADD-SP <[email protected]>
2025-10-06 19:34:56 +08:00
QiandGitHub b157f5da76 runtime: add guide for choosing between runtime types (#7635)
Signed-off-by: ADD-SP <[email protected]>
2025-10-01 22:00:46 +08:00
QiandGitHub a0f7f5c94a fs: emit compilation error without tokio_unstable for io-uring (#7634)
Signed-off-by: ADD-SP <[email protected]>
2025-09-30 19:53:19 +08:00
QiandGitHub 02486978d1 ci: freeze rustc on nightly-2025-01-25 in netlify.toml (#7652)
Signed-off-by: ADD-SP <[email protected]>
2025-09-29 23:51:20 +08:00
QiandGitHub 2af3e4430a ci: update macros_type_mismatch for Rust 1.90.0 (#7630)
Signed-off-by: ADD-SP <[email protected]>
2025-09-19 16:11:21 +02:00
QiandGitHub 024bd60933 task: improve the example of poll_proceed (#7586)
Signed-off-by: ADD-SP <[email protected]>
2025-09-10 20:57:03 +08:00
QiandGitHub 9f59c6952e ci: remove the job test-pass (#7575)
Signed-off-by: ADD-SP <[email protected]>
2025-09-08 12:07:40 +02:00
QiandGitHub 9ed6f70b81 ci: remove a typo from spellcheck.dic (#7524)
Signed-off-by: ADD-SP <[email protected]>
2025-08-10 20:31:09 +08:00
QiandGitHub 11d7c0486a task: inline the docs of TaskTracker while re-exporting it (#7516)
Signed-off-by: ADD-SP <[email protected]>
2025-08-08 09:54:25 +02:00
QiandGitHub 7497561fed net: render the cygwin in the docs of quickack and set_quickack (#7515)
Signed-off-by: ADD-SP <[email protected]>
2025-08-06 09:01:27 +08:00
QiandGitHub 5f04d14d81 net: add TcpStream::quickack and TcpStream::set_quickack (#7490)
Signed-off-by: ADD-SP <[email protected]>
2025-07-31 19:58:01 +08:00
0d234c3cf9 ci: unfreeze wasm-unknown-unknown from rustc 1.81 (#7471)
Signed-off-by: ADD-SP <[email protected]>
Co-authored-by: Taiki Endo <[email protected]>
2025-07-21 09:48:04 +08:00
QiandGitHub 0a3fe46086 sync: remove duplicated code in OnceCell tests (#7458)
Signed-off-by: ADD-SP <[email protected]>
2025-07-14 10:28:02 +02:00
QiandGitHub 154d7d5fe6 ci: cleanup legacy R-loom-multi-thread-alt label from the labeler (#7457)
Signed-off-by: ADD-SP <[email protected]>
2025-07-12 16:37:21 +02:00
QiandGitHub 7dd4d8a30e runtime: cleanup legacy tests of alt multi-threaded runtime (#7451)
Signed-off-by: ADD-SP <[email protected]>
2025-07-09 19:52:33 +08:00
02cbe4591b runtime: improve safety comments of Readiness<'_> (#7415)
Signed-off-by: ADD-SP <[email protected]>
Co-authored-by: Eliza Weisman <[email protected]>
Co-authored-by: Alice Ryhl <[email protected]>
2025-07-07 19:04:08 +08:00
b3a14483bf sync: improve docs of tokio_util::sync::CancellationToken (#7408)
Co-authored-by: Alice Ryhl <[email protected]>
2025-06-19 06:32:41 +08:00
QiandGitHub 013f323def docs: add a missing panic scenario of time::advance (#7394) 2025-06-18 20:25:12 +08:00
QiandGitHub 714e5b571f runtime: move impl Schedule for Arc<Handle> (#7398) 2025-06-09 09:32:59 +02:00
QiandGitHub 9563707aaa time: cumulative minor improvements (#7358) 2025-05-28 14:01:31 +02:00
QiandGitHub 7ec77a0677 time: eliminate UnsafeCell around the TimerShared (#7329) 2025-05-23 19:24:29 +02:00
QiandGitHub 55e3ed2a39 runtime: eliminate unnecessary lfence while operating on queue::Local<T> (#7340) 2025-05-23 19:24:00 +02:00
QiandGitHub ea30a5ea5e time: rename cached_when to registered_when (#7333) 2025-05-20 14:55:28 +02:00
QiandGitHub 4cbcb687f4 time: address style issues (#7328) 2025-05-12 23:32:23 +09:00
QiandGitHub 0715e6defc time: remove outdated explicitly drop call of Mutex (#7326)
This drop was firstly introduced by [#3289],
and the next line invokes `panic!`.

In [#5434], the original `panic!` was replaced
with `return Err`, so dropping it explicitly
is no longer necessary.

[#3289]: https://github.com/tokio-rs/tokio/pull/3289
[#5434]: https://github.com/tokio-rs/tokio/pull/5434
2025-05-12 22:18:43 +09:00