mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
fa4a62b066
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.