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
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
Alice Ryhl
aa65d0d0b8
chore: prepare Tokio v1.47.4 ( #8002 )
tokio-1.47.4
2026-04-02 14:12:06 +02:00
LeoniePhiline
bf18ed452d
sync: fix panic in Chan::recv_many when called with non-empty vector on closed channel ( #7991 )
...
`Chan::recv_many` intends to assert that no slots
have been consumed when exiting with `Ready` via
the `rx_closed` code path.
Instead of asserting no items were added to the
buffer, it asserted buffer emptiness, incorrectly
making assumptions about the provided buffer.
When `recv_many` was called on an empty channel
with idle semaphore after the receiver was closed,
the method would panic.
The branch coverage had been previously missing.
This changeset corrects the assertion
and adds tests covering the code path.
Fixes #7990 .
2026-04-02 13:16:03 +02:00
Alice Ryhl
f320197693
chore: prepare Tokio v1.47.3 ( #7823 )
tokio-1.47.3
2026-01-02 21:07:41 +01:00
Qi
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
Qi
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 )
tokio-1.43.4
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
Martin Grigorov
601c383ab6
ci: upgrade FreeBSD from 14.2 to 14.3 ( #7758 )
...
14.2 is no more available:
```
$ gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
NAME PROJECT FAMILY DEPRECATED STATUS
freebsd-13-5-release-amd64-gce freebsd-org-cloud-dev freebsd-13-5 READY
freebsd-13-5-stable-amd64-v20251030 freebsd-org-cloud-dev freebsd-13-5-snap READY
freebsd-13-5-stable-amd64-v20251107 freebsd-org-cloud-dev freebsd-13-5-snap READY
freebsd-14-3-release-amd64-ufs-gce freebsd-org-cloud-dev freebsd-14-3 READY
freebsd-14-3-stable-amd64-ufs-20251120 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-ufs-20251127 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-zfs-20251113 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-zfs-20251120 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-zfs-20251127 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-15-0-release-amd64-ufs freebsd-org-cloud-dev freebsd-15-0-amd64-ufs READY
freebsd-15-0-release-amd64-zfs freebsd-org-cloud-dev freebsd-15-0-amd64-zfs READY
freebsd-15-0-stable-amd64-ufs-20251120 freebsd-org-cloud-dev freebsd-15-0-amd64-ufs-snap READY
freebsd-15-0-stable-amd64-ufs-20251127 freebsd-org-cloud-dev freebsd-15-0-amd64-ufs-snap READY
freebsd-15-0-stable-amd64-zfs-20251120 freebsd-org-cloud-dev freebsd-15-0-amd64-zfs-snap READY
freebsd-15-0-stable-amd64-zfs-20251127 freebsd-org-cloud-dev freebsd-15-0-amd64-zfs-snap READY
freebsd-16-0-current-amd64-ufs-20251110 freebsd-org-cloud-dev freebsd-16-0-snap READY
freebsd-16-0-current-amd64-zfs-20251110 freebsd-org-cloud-dev freebsd-16-0-snap READY
freebsd-16-0-current-arm64-aarch64-ufs-20251111 freebsd-org-cloud-dev freebsd-16-0-snap READY
freebsd-16-0-current-arm64-aarch64-zfs-20251111 freebsd-org-cloud-dev freebsd-16-0-snap READY
```
(cherry picked from commit 5471a5835e )
2026-01-03 01:27:34 +08:00
KR-bluejay
484cb52d8d
sync: return TryRecvError::Disconnected from Receiver::try_recv after Receiver::close ( #7686 )
...
(cherry picked from commit d060401f6c )
2026-01-03 01:27:28 +08:00
Qi
3762a6a990
chore: prepare Tokio v1.47.2 ( #7681 )
...
Signed-off-by: ADD-SP <[email protected] >
tokio-1.47.2
2025-10-15 01:12:04 +08:00
Jess Izen
07f6cc7e1d
macros: fix the hygiene issue of join! and try_join! ( #7638 )
...
(cherry picked from commit eb99e476e6 )
2025-10-15 00:29:11 +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] >
tokio-1.43.3
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
Alice Ryhl
49b331855e
process: fix error when runtime is shut down on nightly-2025-10-12 ( #7672 )
...
(cherry picked from commit 9e5527d1d5 )
2025-10-14 22:13:55 +08:00
Martin Grigorov
da292dfb66
sync: close the broadcast::Sender in broadcast::Sender::new() ( #7629 )
...
(cherry picked from commit 6d1ae62868 )
2025-10-14 22:13:55 +08:00
Adam Ning
b9feac8d68
runtime: use release in wake_by_ref() even if already woken ( #7622 )
...
(cherry picked from commit 67869be3d7 )
2025-10-14 22:13:54 +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
Motoyuki Kimura
b1e69e560c
ci: pin the rust version for wasm tests ( #7518 )
...
(cherry picked from commit 987675e843 )
2025-10-14 22:13:54 +08:00
Alice Ryhl
f020b5c4b5
ci: fix incorrect tokio version in Cargo.lock
2025-08-01 13:26:54 +02:00
Alice Ryhl
be8ee45b3f
chore: prepare Tokio v1.47.1 ( #7504 )
tokio-1.47.1
2025-08-01 13:20:34 +02:00
Alice Ryhl
d9b19166cd
Merge 'tokio-1.43.2' into 'tokio-1.47.x' ( #7503 )
2025-08-01 13:03:06 +02:00
Alice Ryhl
db8edc620f
chore: prepare Tokio v1.43.2 ( #7502 )
tokio-1.43.2
2025-08-01 12:57:50 +02:00
Alice Ryhl
4730984d66
readme: add 1.47 as LTS release ( #7497 )
...
(cherry picked from commit ad2e19ffe1 )
2025-08-01 11:34:35 +02:00
Alice Ryhl
1979615cbf
process: fix panic from spurious pidfd wakeup ( #7494 )
2025-08-01 09:27:15 +00:00
Alice Ryhl
f669a609cf
ci: add lockfile for LTS branch
...
This is to fix CI failures from backtrace in rustdoc jobs.
2025-08-01 11:07:17 +02:00
tkoyasak
ce41896f8d
sync: fix broken link of Python asyncio.Event in SetOnce docs ( #7485 )
2025-07-27 08:28:24 +08:00
tkoyasak
c8ab78a84f
changelog: fix incorrect PR number for 1.47.0 ( #7484 )
2025-07-27 08:24:09 +08:00
Daksh
3911cb8523
chore: prepare Tokio v1.47.0 ( #7482 )
tokio-1.47.0
2025-07-26 16:50:58 +02:00
Aria Andika
d545aa2601
sync: add sync::Notify::notified_owned() ( #7465 )
2025-07-26 21:45:34 +08:00
Daksh
911ab21d70
sync: add SetOnce ( #7418 )
2025-07-25 10:29:14 +02:00
Conrad Ludgate
9e94fa7e15
task: remove raw-entry feature from hashbrown dep ( #7252 )
2025-07-22 15:52:54 +02:00
Qi and Taiki Endo
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
Taiki Endo
3754e059b6
ci: use ubuntu-24.04-arm instead of ubuntu-22.04-arm ( #7470 )
2025-07-20 17:19:26 +09:00
Stepan Tubanov and Luca BRUNO
6d868d96ce
sync: fix CancellationToken failing to cancel the ready futures ( #7462 )
...
This patch fixes an issue where the `CancellationToken::run_until_cancelled` never cancels the `Future` that returns `Ready` at the first `poll`.
---------
Co-authored-by: Luca BRUNO <[email protected] >
2025-07-20 10:03:29 +08:00
Qi
0a3fe46086
sync: remove duplicated code in OnceCell tests ( #7458 )
...
Signed-off-by: ADD-SP <[email protected] >
2025-07-14 10:28:02 +02:00
Qi
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
Pepijn Van Eeckhoudt
611b793356
coop: add cooperative and poll_proceed ( #7405 )
2025-07-11 08:07:44 +00:00
Jess Izen
888ee60e41
metrics: properly annotate required features for 64-bit-only metrics ( #7449 )
2025-07-09 15:03:22 +02:00
Qi
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
Orson Peters
085e616c87
sync: use swap in AtomicWaker::wake ( #7450 )
2025-07-09 10:09:34 +00:00
Aaron Chen
a7896d07f1
chore: update CI to clippy 1.88 ( #7452 )
2025-07-09 08:34:24 +02:00