From b08d135840f1ef6d369566db40d3d0167dbf0b8f Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Mon, 23 Aug 2021 18:22:07 -0500 Subject: Mark x86_64-unknown-illumos as Tier 2 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5c900a44..0bd2df53 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ Tier 2: * s390x-unknown-linux-gnu * x86_64-apple-ios * x86_64-linux-android + * x86_64-unknown-illumos * x86_64-unknown-netbsd Tier 3: -- cgit v1.2.3 From fc7687dad8feb467b04897bbf40730c56e5d3f1b Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Tue, 24 Aug 2021 16:28:29 -0500 Subject: Fix build for DragonFlyBSD --- src/unistd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unistd.rs b/src/unistd.rs index e42f83a5..25b20051 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -2742,7 +2742,7 @@ impl From for libc::passwd { pw_age: CString::new("").unwrap().into_raw(), #[cfg(target_os = "illumos")] pw_comment: CString::new("").unwrap().into_raw(), - #[cfg(target_os = "freebsd")] + #[cfg(any(target_os = "dragonfly", target_os = "freebsd"))] pw_fields: 0, } } -- cgit v1.2.3 From 8366b92ca7feaf0347092582e7dafa54962509df Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Fri, 27 Aug 2021 01:46:50 -0500 Subject: Fix compilation warnings --- src/sys/mman.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sys/mman.rs b/src/sys/mman.rs index a8d6d7c9..33ac21de 100644 --- a/src/sys/mman.rs +++ b/src/sys/mman.rs @@ -65,8 +65,8 @@ libc_bitflags!{ MAP_LOCKED; /// Do not reserve swap space for this mapping. /// - /// This was removed in FreeBSD 11. - #[cfg(not(target_os = "freebsd"))] + /// This was removed in FreeBSD 11 and is unused in DragonFlyBSD. + #[cfg(not(any(target_os = "dragonfly", target_os = "freebsd")))] MAP_NORESERVE; /// Populate page tables for a mapping. #[cfg(any(target_os = "android", target_os = "linux"))] @@ -122,8 +122,8 @@ libc_bitflags!{ MAP_NOSYNC; /// Rename private pages to a file. /// - /// This was removed in FreeBSD 11. - #[cfg(any(target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))] + /// This was removed in FreeBSD 11 and is unused in DragonFlyBSD. + #[cfg(any(target_os = "netbsd", target_os = "openbsd"))] MAP_RENAME; /// Region may contain semaphores. #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))] -- cgit v1.2.3