From 3a2163a21afdb4b5c950566f2b0dae0185082ff5 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 4 Sep 2021 16:25:52 -0600 Subject: Check Dragonfly BSD and OpenBSD in CI Build, but don't test, for these operating systems. Thanks to @rtzoeller for the tip. Also, fix the OpenBSD build. --- src/sys/resource.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/sys/resource.rs') diff --git a/src/sys/resource.rs b/src/sys/resource.rs index c3bf29e8..dd7f8c5c 100644 --- a/src/sys/resource.rs +++ b/src/sys/resource.rs @@ -49,7 +49,11 @@ libc_enum! { ), repr(i32))] #[non_exhaustive] pub enum Resource { - #[cfg(not(any(target_os = "netbsd", target_os = "freebsd")))] + #[cfg(not(any( + target_os = "freebsd", + target_os = "netbsd", + target_os = "openbsd" + )))] /// The maximum amount (in bytes) of virtual memory the process is /// allowed to map. RLIMIT_AS, -- cgit v1.2.3