Tim Vilgot Mikael Fredenberg
daa653d94f
tokio: remove needless generic type on LinkedList ( #8188 )
2026-06-19 23:28:28 +08:00
Mahdi Ali-Raihan and Vrtgs
7892f6020d
Implemented io-uring Op<Statx> and applied to read_uring and fs::try_exists ( #8080 )
...
* implement Op<Statx> and use it to implement fs::try_exists
* fix statx on unavailable platforms
* complete using only io-uring operations for read_uring
* Implemented io-uring::Op<Statx> and apply it accordingly to read_uring, try_exists
* Added test for io uring statx operations. Checks for cancellations, shutdown, stating multiple files, ELOOP, ENAMETOOLONG, EACCES
* Removed musl as supported platform for io_uring statx operations, as statx is supported on 1.25+ musl, and MSRV that uses 1.25 on all *-linux-musl platforms is 1.93
* Removed pending checks for cancel_op_future since io_uring not available on Linux <5.1, removed stat permission denied test case since it doesn't work on Linux 4.19
* Removed redundant cfg attributes on functions, added STATX_BTIME flag in statx operation, use assert pending in cancel ops
* Uncommented stat_permission_denied test and make sure it doesn't run on platforms that don't support io_uring, removed unnecessary comments, and added TODO on symlink_metadata for when Metadata::from_statx is stabilized
* Statx fd leak drop test added and added STATX_BTIME to file_metadata
* Remove unnecessary utils function, refactored code in statx and statx fd leak test, and removed cfg_io_uring gates (localized the feature gate to the pertinent part of the code that uses it in read_uring)
---------
Co-authored-by: Vrtgs <[email protected] >
2026-06-13 13:30:47 -04:00
ADD-SP and Alice Ryhl
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
Mukhammedali Berektassuly
ecb5125a67
runtime: document interaction with fork() ( #8202 )
2026-06-10 12:05:27 +00:00
Jean SIMARD
bde8967853
task: add Stream wrapper for JoinSet ( #8189 )
2026-06-10 09:04:27 +02:00
Satyam Gupta
21e4a2a282
taskdump: support taskdumps on s390x ( #8192 )
...
Signed-off-by: satyamg1620 <[email protected] >
2026-06-10 08:55:09 +02:00
Amey Pawar
2e7930fe58
net: accept ConnectionReset in shutdown_after_tcp_reset test ( #8196 )
...
The test asserts shutdown() returns Ok(()) after the peer resets the
connection (linger = 0). This holds on Linux and macOS, but on FreeBSD the
kernel can finish processing the RST before shutdown() runs, so it returns
ConnectionReset and the test fails intermittently -- the oneshot only
synchronizes the application-level drop, not the kernel's RST processing.
Accept Ok(()) or ConnectionReset for the post-reset shutdown, since both
are valid for a connection the peer has already reset.
2026-06-09 15:00:24 +00:00
Sabnock
67637b348a
macros: clarify tokio::main expansion ( #8193 )
2026-06-09 14:22:46 +02:00
Nicolò Paternoster
778e9d97d9
tests: fix typo in io_uring support functions docs ( #8186 )
2026-06-03 17:37:57 +02:00
elomatreb
71362aa609
net: add SocketAddr methods to Unix sockets ( #8144 )
2026-06-03 09:23:30 +02:00
WhySoBad
2de86e557c
net: enable more Miri tests for TCP socket ( #8180 )
2026-06-02 23:50:54 +08:00
RyanStewart
326bd2cc44
codec: use libc::memchr for LinesCodec delimiter scan ( #8141 )
2026-06-02 17:23:18 +02: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