We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9993f08 commit 8de4cfbCopy full SHA for 8de4cfb
src/sys/wait.rs
@@ -191,7 +191,7 @@ fn decode(pid : pid_t, status: i32) -> WaitStatus {
191
} else if status::signaled(status) {
192
WaitStatus::Signaled(pid, status::term_signal(status), status::dumped_core(status))
193
} else if status::stopped(status) {
194
- if cfg!(any(target_os = "linux", target_os = "android")) {
+ #[cfg(any(target_os = "linux", target_os = "android"))] {
195
let status_additional = status::stop_additional(status);
196
if status_additional != 0 {
197
return WaitStatus::PtraceEvent(pid, status::stop_signal(status), status::stop_additional(status))
0 commit comments