noah
ce372a5cd4
fix alice's findings
2026-05-29 16:25:29 -05:00
noah
422941abea
fmt strikes again
2026-05-29 16:25:29 -05:00
noah
89291980f1
fix issue where we had hooks for term but not spawn with blocking tasks
2026-05-29 16:25:29 -05:00
noah
625bdc55f7
fmt
2026-05-29 16:25:29 -05:00
noah
e5bac38fab
propagate parent to hooks even invoked in drop
...
Ensure that tasks spawned on drop have access to parent metadata.
2026-05-29 16:25:29 -05:00
noah
bf3b15c471
cleanup: review and cleanup unsafe code
...
I did some things the other day that I don't like the next morning.
Cleaning those up in this commit.
Also fixes a flaky test I added.
2026-05-29 16:25:29 -05:00
noah
4f2f942e18
fmt
2026-05-29 16:25:29 -05:00
noah
a3860a9f37
hooks: overhaul task hooks
...
This change overhauls our task hooks system, allowing users to attach
user data to individual tasks, which are passed into hooks. Spawn hooks
can see both parent and child metadata.
2026-05-29 16:25:29 -05:00
WhySoBad
32312ae0d6
net: enable Miri tests for TCP socket ( #8156 )
2026-05-26 10:40:09 +08:00
Qiqi Zhang
37ced33efd
time: ensure timers stay in the same runtime after .reset() ( #8169 )
2026-05-26 10:29:50 +08:00
Tim Vilgot Mikael Fredenberg
923e72345c
time: move lazy-registration state into Sleep ( #8132 )
2026-05-25 08:11:09 +08:00
Mattia Pitossi
f619fc0587
docs: improve contributing guidelines ( #8166 )
2026-05-24 09:10:16 +02:00
吴杨帆
82fe082ef1
fs: clarify create_dir_all succeeds if path exists ( #8149 )
2026-05-21 15:43:17 +02:00
Joe Grund
1fe1b0e727
task: add JoinMap::try_join_next ( #8099 )
2026-05-21 15:41:55 +02:00
Minh Vu
c6af672353
io: advance partially written buffers correctly in write_all_vectored ( #8159 )
2026-05-21 01:21:35 -07:00
Abhinav
2a05f364b7
ci: set copyback to false for FreeBSD jobs ( #8155 )
2026-05-20 14:32:23 +02:00
Mattia Pitossi
c6d58ce7e7
ci: fix macOS runners ( #8145 )
2026-05-15 08:24:07 +02:00
vip892766gma
de360cfc7e
tokio-stream: fix duplicated word in changelog ( #8143 )
2026-05-14 20:33:43 -07:00
RyanStewart
7d3b0ad192
sync: remove useless conversion in oneshot Receiver::poll ( #8142 )
2026-05-13 09:05:35 +02:00
Russell Cohen
0121120b6d
taskdump: skip double wake on Trace::capture/Trace::trace_with ( #8043 )
2026-05-12 19:56:50 +02:00
Mattia Pitossi
bdcea6b2cd
fs: skip some io_uring tests on Kernels that don't support it ( #8134 )
2026-05-11 13:58:50 +02:00
Tim Vilgot Mikael Fredenberg
ee0dc90926
time: consolidate mutex locks on spurious poll ( #8124 )
2026-05-08 11:02:54 -07:00
Alice Ryhl
78594a7497
Merge 'tokio-1.52.3' into 'master' ( #8131 )
2026-05-08 13:00:22 +00:00
Alice Ryhl
d87569164f
chore: prepare Tokio v1.52.3 ( #8130 )
tokio-1.52.3
2026-05-08 14:52:32 +02:00
Alice Ryhl
e1aebb031c
Merge 'tokio-1.51.3' into 'tokio-1.52.x' ( #8129 )
2026-05-08 09:30:59 +00:00
Alice Ryhl
fd63094ee0
chore: prepare Tokio v1.51.3 ( #8127 )
tokio-1.51.3
2026-05-08 10:45:32 +02:00
xtqqczze
067f229371
io: replace Vec method truncate(0) with clear ( #8125 )
...
https://rust-lang.github.io/rust-clippy/master/index.html#manual_clear
2026-05-08 08:38:49 +02:00
Alice Ryhl
8c600d0fd2
Merge 'tokio-1.47.5' into 'tokio-1.51.x' ( #8123 )
2026-05-07 13:59:06 +02:00
Alice Ryhl
11bfc1345b
chore: prepare Tokio v1.47.5 ( #8122 )
tokio-1.47.5
2026-05-07 13:55:35 +02:00
Alice Ryhl
f085b6211b
sync: notify receivers in mpsc OwnedPermit::release() method ( #8075 )
2026-05-07 09:32:14 +02:00
Alice Ryhl
30d25ccb8b
sync: require that an RwLock has max_readers != 0 ( #8076 )
2026-05-07 09:31:12 +02:00
Alice Ryhl
9fccf5339d
sync: return Empty from try_recv() when mpsc is closed with outstanding permits ( #8074 )
2026-05-07 09:30:50 +02:00
Alice Ryhl
ebf61b45b5
sync: fix underflow in mpsc channel len() ( #8062 )
2026-05-07 09:29:33 +02:00
Timo and Martin Tzvetanov Grigorov
02ff0833e0
sync: implement PartialEq and Eq for CancellationToken ( #8110 )
...
Co-authored-by: Martin Tzvetanov Grigorov <[email protected] >
2026-05-05 13:46:35 +02:00
Alice Ryhl
e56ff72fe7
Merge 'tokio-1.52.2' into 'master' ( #8117 )
2026-05-04 19:53:32 +02:00
Alice Ryhl
4abe9d732e
chore: prepare Tokio v1.52.2 ( #8115 )
tokio-1.52.2
2026-05-04 14:39:25 +02:00
Alice Ryhl
f82bcf3f45
Merge 'tokio-1.51.2' into 'tokio-1.52.x' ( #8114 )
2026-05-04 12:16:52 +02:00
Alice Ryhl
7db9bc41f1
test: revert "remove churn() task from lifo_stealable" ( #8114 )
...
This reverts commit 6c03e03898 .
2026-05-04 12:15:37 +02:00
Alice Ryhl
64834ec701
chore: prepare Tokio v1.51.2 ( #8113 )
tokio-1.51.2
2026-05-04 12:11:07 +02:00
Alice Ryhl
967f5715a7
runtime: revert "steal tasks from the LIFO slot" ( #8100 )
...
This reverts commit eeb55c733b .
2026-05-04 10:08:30 +02:00
HueCodes
e77885a494
net: implement UCred::pid on FreeBSD ( #8086 )
2026-05-03 10:28:31 +02:00
Tim Vilgot Mikael Fredenberg
0926ab195a
time: defer waker clone on spurious poll ( #8107 )
2026-05-02 20:39:08 -07:00
Alice Ryhl and Martin Tzvetanov Grigorov
50c23d300a
runtime: avoid illegal state in FastRand ( #8078 )
...
Co-authored-by: Martin Tzvetanov Grigorov <[email protected] >
2026-05-02 19:01:15 +02:00
Mattia Pitossi
1cd6e65d76
ci: small improvements for freeBSD jobs ( #8102 )
2026-05-02 17:44:40 +02:00
Alice Ryhl
5ee26af3db
Merge tokio-1.52.x (for #8101 ) into master ( #8106 )
2026-05-02 15:13:54 +02:00
Alice Ryhl
9271e3ed05
Merge tokio-1.51.x (for #8101 ) into tokio-1.52.x ( #8106 )
2026-05-02 15:13:06 +02:00
Alice Ryhl
cd1823f43e
Revert "Pin stable to 1.94 for tokio-1.51.x" ( #8106 )
...
As we are merging tokio-1.51.x into tokio-1.52.x and then master, we
should not include this change.
This reverts commit bde3f20b0f .
2026-05-02 15:12:29 +02:00
Alice Ryhl
a97cf12ed9
Merge tokio-1.47.x (commit 670a907c55) into tokio-1.51.x ( #8105 )
2026-05-02 13:52:07 +02:00
Alice Ryhl
bde3f20b0f
Pin stable to 1.94 for tokio-1.51.x ( #8105 )
2026-05-02 13:51:31 +02:00
Alice Ryhl and Mattia Pitossi
670a907c55
ci: fix CI on tokio-1.47.x ( #8101 )
...
Co-authored-by: Mattia Pitossi <[email protected] >
2026-05-02 13:33:40 +02:00