2120bee47f
ci: bump actions/labeler from 6 to 7 ( #8316 )
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 6 to 7.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](https://github.com/actions/labeler/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mattia Pitossi <[email protected] >
2026-07-23 06:31:42 +00:00
Joel Dice
5760ccdc37
ci: pin Wasmtime version(s) in CI ( #8314 )
...
Per https://github.com/bytecodealliance/wasmtime/pull/13558 , Wasmtime v46.0.1
was the last release to support `wasm32-wasip1-threads`, so we use that for the
WASIp1 testing.
For WASIp2, we should be able to use any recent version of Wasmtime, but we pin
to a specific version anyway to avoid surprises.
2026-07-23 07:57:22 +02:00
Minh Vu
145f124d98
ci: preserve QEMU exit status in uring kernel tests ( #8271 )
2026-07-14 09:52:32 +02:00
WhySoBad
61aeb33f51
net: re-enable miri for tests with readable readiness for a socket after a short read ( #8238 )
2026-07-01 17:52:48 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8f37021c16
ci: bump actions/checkout from 6 to 7 ( #8229 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-25 09:25:48 +03:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cdaa78fc37
ci: bump actions/cache from 5 to 6 ( #8230 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 5 to 6.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-25 08:51:00 +03:00
Robert Holt
aee321206b
metrics: add task schedule latency metric ( #7986 )
2026-06-23 10:23:34 +02:00
WhySoBad
2de86e557c
net: enable more Miri tests for TCP socket ( #8180 )
2026-06-02 23:50:54 +08:00
WhySoBad
32312ae0d6
net: enable Miri tests for TCP socket ( #8156 )
2026-05-26 10:40:09 +08: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
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
Mattia Pitossi
1cd6e65d76
ci: small improvements for freeBSD jobs ( #8102 )
2026-05-02 17:44:40 +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
Ralf Jung
89713ad1ec
miri tests: fstat is supported now ( #8088 )
2026-04-27 15:23:40 +03:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
812de3e134
ci: bump taiki-e/cache-cargo-install-action from 1 to 3 ( #8053 )
...
Bumps [taiki-e/cache-cargo-install-action](https://github.com/taiki-e/cache-cargo-install-action ) from 1 to 3.
- [Release notes](https://github.com/taiki-e/cache-cargo-install-action/releases )
- [Changelog](https://github.com/taiki-e/cache-cargo-install-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/cache-cargo-install-action/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: taiki-e/cache-cargo-install-action
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 09:30:55 +02:00
Mattia Pitossi
2e85f9ddf8
ci: replace cirrus-ci with freebsd-vm ( #8041 )
2026-04-16 08:40:04 +02:00
Alice Ryhl
a7e1cd8ff8
ci: update GitHub Actions workflows to use latest tool versions ( #8047 )
2026-04-15 16:57:43 +00:00
Joel Dice
43134f1e57
wasm: add wasm32-wasip2 networking support ( #7933 )
...
Motivation
This adds networking support for the `wasm32-wasip2` target platform, which
includes more extensive support for sockets than `wasm32-wasip1`.
Solution
The bulk of the changes are in https://github.com/tokio-rs/mio/pull/1931 . This
patch mainly tweaks a few `cfg` directives to indicate `wasm32-wasip2`'s
additional capabilities.
Note that this is a draft PR until until
https://github.com/tokio-rs/mio/pull/1931 and
https://github.com/rust-lang/socket2/pull/639 have been include in stable
releases of their respective projects.
Also note that I've added a `wasm32-wasip2` target to CI and triaged each test
which was previously disabled for WASI into one of three categories:
- Disabled on both WASIp1 and p2 due to not-yet-supported features such as multithreading
- Disabled on p1 but enabled on p2
- Disabled on p1 and _temporarily_ disabled on p2 due to `wasi-libc` bugfixes which have been merged but not yet included in a Rust release. I'll open an issue to re-enable them when the fixes land in Rust.
Future Work
In the future, we could consider adding support for `tokio::net::lookup_host`.
WASIp2 natively supports asynchronous DNS lookups and is single threaded,
whereas Tokio currently assumes DNS lookups are blocking and require
multithreading to emulate async lookups. A WASIp2-specific implementation could
do the lookup directly without multithreading.
WASIp2 also supports single-threaded, asynchronous file I/O, timers, etc. We
could either support those directly or wait for WASIp3's multithreading support,
in which case most of `tokio::fs` (as well as `tokio::net::lookup_host`, etc.)
_should_ work unchanged via `wasi-libc` and worker threads.
Currently, building for WASIp2 requires RUSTFLAGS="--cfg tokio_unstable"`. Once
we have a solid maintenance plan, we can remove that requirement.
2026-04-02 11:53:17 +02:00
xtqqczze
6c72168a93
ci: remove Rust 1.94.0 workarounds ( #7987 )
2026-03-30 10:44:47 +02:00
figsoda
dd1196d369
ci: patch workspace members to disambiguate --package ( #7967 )
2026-03-18 07:27:46 +01:00
Chris Denton
d3c7f56c10
ci: workaround for OpenOptionsExt in 1.94.0 ( #7968 )
2026-03-13 10:53:13 +00:00
ADD-SP
961757f548
ci: freeze rustc on 1.93.1 ( #7961 )
2026-03-09 07:43:48 +01:00
Mattia Pitossi
e35fd6d6b7
ci: fix patch during clippy step ( #7935 )
...
* fix the ci issue
* fix readme
* fix ci
2026-02-27 09:40:05 +02:00
ADD-SP
f21f2693f0
runtime: fix race condition during the blocking pool shutdown ( #7922 )
2026-02-23 22:50:27 +01:00
Mattia Pitossi
159f70bc55
ci: fix ambiguity issue during tokio releases ( #7848 )
2026-02-09 11:04:59 +01:00
Qi
264e703296
Merge tokio-1.43.4 into tokio-1.47.x ( #7822 )
2026-01-02 20:11:03 +01:00
Qi
4a91f197b0
ci: fix wasm32-wasip1 tests ( #7788 )
...
(cherry picked from commit 1b17a7e241 )
2026-01-03 01:32:50 +08:00
Qi
1b17a7e241
ci: fix wasm32-wasip1 tests ( #7788 )
2025-12-24 10:07:28 +08:00
Ralf Jung
c03a37fa0b
tokio: enable more tests in Miri ( #7734 )
2025-11-29 15:08:47 +08:00
Qi
73d733a341
time: add alternative timer for better multicore scalability ( #7467 )
...
This change introduces per-worker timer wheels in the time subsystem
to reduce the lock contention.
Key changes:
- Each worker now maintains a local timer wheel.
- Timer insertions are performed locally.
- Timer cancellations are forwarded via a
dedicated cross-worker cancellation queue.
Relevant RFC: https://github.com/tokio-rs/tokio/issues/7384
---------
Signed-off-by: ADD-SP <[email protected] >
2025-11-27 09:29:28 +08:00
Qi
d709df2571
ci: bump miri to nightly-2025-11-09 ( #7726 )
2025-11-09 18:53:16 +02:00
Benjamin Ran and Benjamin Ran
d84a9e9af3
util: enable loom tests ( #7644 )
...
Co-authored-by: Benjamin Ran <[email protected] >
2025-11-06 19:20:08 +08:00
Qi
5a1879c2d0
Merge 'tokio-1.43.3' into 'tokio-1.47.x'
2025-10-15 00:10:36 +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
53e8acac64
ci: update nightly version to 2025-10-12 ( #7670 )
2025-10-14 12:56:46 +02:00
Qi and Alice Ryhl
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
Alice Ryhl
5b4cbbc39e
tokio: raise MSRV to 1.71 ( #7658 )
2025-10-02 11:14:17 +02:00
Qi
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
Lucas Black
8ccf2fb92e
ci: unfreeze wasm tests from rustc 1.88.0 ( #7537 )
2025-09-26 21:29:01 +08:00
Motoyuki Kimura and Emile Fugulin
3b5a15dfdf
fs: use the Cargo feature for io-uring support instead of cfg ( #7621 )
...
Co-authored-by: Emile Fugulin <[email protected] >
2025-09-19 23:22:44 +08:00
unvalley
f07233f742
test: add tests for time in wasm32-unknown-unknown ( #7510 )
2025-09-09 12:31:14 +02:00
Qi
9f59c6952e
ci: remove the job test-pass ( #7575 )
...
Signed-off-by: ADD-SP <[email protected] >
2025-09-08 12:07:40 +02:00
CrazyFrog
86528741f9
ci: update GitHub actions/checkout to v5 ( #7529 )
2025-08-13 12:57:45 +02:00
Motoyuki Kimura
987675e843
ci: pin the rust version for wasm tests ( #7518 )
2025-08-08 10:09:31 +00:00
Motoyuki Kimura
3e84a198e4
fs: add io_uring open operation ( #7321 )
2025-08-08 09:51:42 +02:00