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 553758d commit f829c7fCopy full SHA for f829c7f
src/sys/resource.rs
@@ -49,7 +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
- RLIMIT_AS,
+ #[cfg(not(target_os = "netbsd"))]
53
+ RLIMIT_AS, // not in the libc for netbsd
54
RLIMIT_CORE,
55
RLIMIT_CPU,
56
RLIMIT_DATA,
0 commit comments