We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f829c7f commit e85d4edCopy full SHA for e85d4ed
src/sys/resource.rs
@@ -49,8 +49,8 @@ cfg_if! {
49
pub enum Resource {
50
/// See detail of each Resource https://man7.org/linux/man-pages/man2/getrlimit.2.html
51
/// BSD specific Resource https://www.freebsd.org/cgi/man.cgi?query=setrlimit
52
- #[cfg(not(target_os = "netbsd"))]
53
- RLIMIT_AS, // not in the libc for netbsd
+ #[cfg(not(any(target_os = "netbsd", target_os = "freebsd")))]
+ RLIMIT_AS,
54
RLIMIT_CORE,
55
RLIMIT_CPU,
56
RLIMIT_DATA,
0 commit comments