rlimit
rlimit copied to clipboard
Final review before 1.0
The current APIs are nearly stable.
Remaining questions:
- [x]
rlimitwill not add cgroups API. cgroups-rs is recommanded now. - [x] Is it ok to use
u64as the rlim type for all platforms? (Yes) - [ ] The signature of
rlimit::prlimitseems sightly strange. Is there a better way? - [ ]
setmaxstdio(u32::MAX)can lead to crash. Should it be a feature or a bug?
Related issues:
- [ ] https://github.com/rust-lang/libc/issues/2724