Skip to content

Commit c074523

Browse files
committed
fix: address target os inversion on schedstat test
1 parent d121d83 commit c074523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dial9-tokio-telemetry/src/telemetry/events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ mod tests {
607607
}
608608

609609
#[test]
610-
#[cfg(not(any(target_os = "linux", target_os = "android")))]
610+
#[cfg(any(target_os = "linux", target_os = "android"))]
611611
fn test_schedstat_fd_closed_on_thread_exit() {
612612
// fcntl(fd, F_GETFD) returns -1 with errno=EBADF for closed fds.
613613
// SAFETY: F_GETFD with a raw fd is side-effect free.

0 commit comments

Comments
 (0)