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.
libc::RLIM_NLIMITS
1 parent bcf5627 commit 01edb93Copy full SHA for 01edb93
stdlib/src/resource.rs
@@ -14,7 +14,8 @@ mod resource {
14
15
cfg_if::cfg_if! {
16
if #[cfg(target_os = "android")] {
17
- use libc::RLIM_NLIMITS;
+ #[expect(deprecated)]
18
+ const RLIM_NLIMITS: i32 = libc::RLIM_NLIMITS;
19
} else {
20
// This constant isn't abi-stable across os versions, so we just
21
// pick a high number so we don't get false positive ValueErrors and just bubble up the
0 commit comments