Clippy · Reliability
Spawned child process never waited on
clippy::zombie_processes
Wait on the child process or otherwise reap it before the handle is dropped.
- Category
- Reliability
- Default level
- warn
- Tier
- P2
- Producer
- Clippy
- Diff scope
- line
Not a defect when
The child is intentionally detached to outlive the parent, such as a daemon or background helper, and the parent exits right after so init adopts and reaps it.
What it reads
Clippy, with the compiler behind it. The only pass that compiles.
Tier
Ordinary defect.
The tier bounds how severe a rule may be; its category bounds the tier.Diff scope
The changed line itself.
What--scope contextual looks at to decide whether a change caused the finding.Change it
Turn it off, or make it blocking, without touching the code it flags:
rust-doctor --rule clippy::zombie_processes=off .
rust-doctor --rule clippy::zombie_processes=error .