Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion stdlib/src/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ mod resource {

cfg_if::cfg_if! {
if #[cfg(target_os = "android")] {
use libc::RLIM_NLIMITS;
#[expect(warnings)]
const RLIM_NLIMITS: i32 = libc::RLIM_NLIMITS;
} else {
// This constant isn't abi-stable across os versions, so we just
// pick a high number so we don't get false positive ValueErrors and just bubble up the
Expand Down
Loading