Skip to content

Commit 355e5e5

Browse files
Merge pull request #70 from filecoin-project/pipe-test-linux-only
test: run logging with pipe test on Linux only
2 parents 0a1990f + 39f108b commit 355e5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/util/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ mod tests {
105105
}
106106

107107
#[test]
108-
#[cfg(not(target_os = "windows"))]
108+
#[cfg(target_os = "linux")]
109109
fn test_init_log_fd() {
110110
let mut fds: [libc::c_int; 2] = [0; 2];
111111
let res = unsafe { libc::pipe2(fds.as_mut_ptr(), libc::O_CLOEXEC) };

0 commit comments

Comments
 (0)