diff options
author | LMJW <heysuperming@gmail.com> | 2021-07-30 09:33:21 +1000 |
---|---|---|
committer | LMJW <heysuperming@gmail.com> | 2021-08-01 10:23:00 +1000 |
commit | cd004aa8615e4eb83937993ed05abd559c40c49c (patch) | |
tree | 5ca4a754fe60a0c2a0838bb5fb6f42cb9ecde88e /src/sys/mod.rs | |
parent | 3c45e08eae9d9590d959e5f687aed69209b24241 (diff) | |
download | nix-cd004aa8615e4eb83937993ed05abd559c40c49c.zip |
Add getrlimit and setrlimit
This work is a continutation on previou contribution by @kpcyrd and @j1ah0ng.
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r-- | src/sys/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs index b43587b8..cffefdc3 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -59,6 +59,9 @@ pub mod quota; #[cfg(any(target_os = "linux"))] pub mod reboot; +#[cfg(not(any(target_os = "redox", target_os = "fuchsia", target_os = "illumos")))] +pub mod resource; + #[cfg(not(target_os = "redox"))] pub mod select; |