Skip to content

Commit 5ff9695

Browse files
committed
FreeBSD: enable unistd::gettid() test
1 parent 7800b8b commit 5ff9695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_unistd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ fn test_getsid() {
249249
assert_eq!(none_sid, pid_sid);
250250
}
251251

252-
#[cfg(linux_android)]
253-
mod linux_android {
252+
#[cfg(any(linux_android, target_os = "freebsd"))]
253+
mod linux_android_freebsd {
254254
use nix::unistd::gettid;
255255

256256
#[test]

0 commit comments

Comments
 (0)