rust/library/std/src
Jonathan Brouwer 3b0d35f94b
Rollup merge of #150412 - the8472:pidfd-spawn, r=tgross35
use PIDFD_GET_INFO ioctl when available

This way using pidfd_spawnp won't have to rely on procfs, avoiding an unpleasant edge-case where the child is spawned but we can't get the pid. And pidfd.{try_}wait will be able to return the exit status even after a process has been reaped. At least on newer kernels.

Tracking issue: https://github.com/rust-lang/rust/issues/82971
2026-01-06 16:19:41 +01:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Rollup merge of #149204 - winningMove:patch-1, r=chenyukang 2025-11-22 18:41:25 +01:00
ffi Rollup merge of #145933 - GrigorenkoPV:thing_as_thing, r=Amanieu 2025-12-18 18:37:13 +01:00
fs Add Dir::open(_file) and some trait impls 2026-01-03 18:03:30 -05:00
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
io docs: fix typo in std::io::buffered 2025-12-29 14:50:58 +08:00
net Revert #148937 (Remove initialized-bytes tracking from BorrowedBuf and BorrowedCursor) 2025-12-17 14:34:56 +00:00
num Rollup merge of #148052 - tgross35:stabilize-const_mul_add, r=RalfJung 2025-12-10 17:16:46 +01:00
os Rollup merge of #150412 - the8472:pidfd-spawn, r=tgross35 2026-01-06 16:19:41 +01:00
prelude rename feature gate to extern_item_impls 2025-12-12 11:32:35 +01:00
process Revert #148937 (Remove initialized-bytes tracking from BorrowedBuf and BorrowedCursor) 2025-12-17 14:34:56 +00:00
sync add experimental oneshot channel 2026-01-05 09:47:15 +11:00
sys Rollup merge of #150412 - the8472:pidfd-spawn, r=tgross35 2026-01-06 16:19:41 +01:00
thread crate::io::Resultio::Result in most places 2025-12-29 15:09:48 +01:00
alloc.rs Rollup merge of #147725 - bjorn3:remove_oom_panic, r=Amanieu 2025-12-10 07:54:17 +01:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs Fix new function_casts_as_integer lint errors in core, std, panic_unwind and compiler crates 2025-11-10 16:38:28 +01:00
bstr.rs Implement ByteStr and ByteString types 2025-01-11 06:35:21 +02:00
env.rs Fix missing double-quote in std::env::consts::OS values 2025-11-24 18:02:24 +01:00
error.rs Move std::error unit tests to integration tests 2025-01-26 10:28:04 +00:00
fs.rs Add Dir::open(_file) and some trait impls 2026-01-03 18:03:30 -05:00
keyword_docs.rs Document fully-qualified syntax in as' keyword doc 2025-10-03 17:31:55 +03:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs std: unify sys::pal::common and sys_common into sys::helpers 2026-01-02 18:23:39 +01:00
macros.rs Revert "feat: implement hash_map! macro" 2025-10-23 12:37:53 -07:00
panic.rs std: move FULL_BACKTRACE_DEFAULT to sys::backtrace 2025-12-15 13:48:30 +01:00
panicking.rs Show backtrace on allocation failures when possible 2025-11-26 14:02:37 +00:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Rollup merge of #145933 - GrigorenkoPV:thing_as_thing, r=Amanieu 2025-12-18 18:37:13 +01:00
process.rs std: update references to FromInner etc. 2025-12-15 14:00:37 +01:00
random.rs random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
rt.rs remember the main thread ID before performing platform initialisation 2025-12-02 18:03:33 +01:00
test_helpers.rs std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
time.rs Auto merge of #149930 - joboet:small-sys-refactor, r=ChrisDenton 2025-12-15 18:46:48 +00:00