(&mut self)
| 765 | struct ChildGuard(libc::pid_t); |
| 766 | impl Drop for ChildGuard { |
| 767 | fn drop(&mut self) { |
| 768 | #[allow(unsafe_code)] |
| 769 | unsafe { |
| 770 | libc::kill(self.0, libc::SIGKILL); |
| 771 | libc::waitpid(self.0, std::ptr::null_mut(), 0); |
| 772 | } |
| 773 | } |
| 774 | } |
| 775 | |
| 776 | let listener = TcpListener::bind("127.0.0.1:0").expect("bind listener"); |
nothing calls this directly
no outgoing calls
no test coverage detected