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.
2 parents 625886f + cf7b6ee commit 7f1c5ecCopy full SHA for 7f1c5ec
stdlib/src/resource.rs
@@ -35,13 +35,18 @@ mod resource {
35
#[pyattr]
36
use libc::RLIMIT_RTTIME;
37
38
- #[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
+ #[cfg(any(
39
+ target_os = "freebsd",
40
+ target_os = "netbsd",
41
+ target_os = "solaris",
42
+ target_os = "illumos"
43
+ ))]
44
45
use libc::{RLIMIT_NPTS, RLIMIT_SBSIZE, RLIMIT_SWAP};
46
- #[cfg(any(target_os = "freebsd", target_os = "solaris", target_os = "illumos"))]
47
+ #[cfg(any(target_os = "solaris", target_os = "illumos"))]
48
- use libc::{RLIMIT_NPTS, RLIMIT_SBSIZE, RLIMIT_SWAP, RLIMIT_VMEM};
49
+ use libc::RLIMIT_VMEM;
50
51
#[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "freebds"))]
52
0 commit comments