Skip to content

Commit 82cebaa

Browse files
committed
Disable Socket::domain on FreeBSD
It's only available on FreeBSD 12 (?), which we don't use on the CI yet.
1 parent 9000091 commit 82cebaa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/sys/unix.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,8 @@ impl crate::Socket {
997997
feature = "all",
998998
any(
999999
target_os = "android",
1000-
target_os = "freebsd",
1000+
// TODO: add FreeBSD.
1001+
// target_os = "freebsd",
10011002
target_os = "fuchsia",
10021003
target_os = "linux",
10031004
)

tests/socket.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,8 @@ fn is_listener() {
847847
feature = "all",
848848
any(
849849
target_os = "android",
850-
target_os = "freebsd",
850+
// TODO: add FreeBSD.
851+
// target_os = "freebsd",
851852
target_os = "fuchsia",
852853
target_os = "linux",
853854
)

0 commit comments

Comments
 (0)