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.
1 parent 616d546 commit 125b4f7Copy full SHA for 125b4f7
src/unix/linux_like/linux/arch/mips/mod.rs
@@ -359,10 +359,17 @@ cfg_if! {
359
}
360
361
cfg_if! {
362
- if #[cfg(
+ if #[cfg(all(
363
any(target_arch = "mips", target_arch = "mips32r6"),
364
- any(target_env = "gnu", target_env = "uclibc")
365
- )] {
+ any(target_env = "uclibc", target_env = "gnu"),
+ linux_time_bits64
366
+ ))] {
367
+ pub const RLIM_INFINITY: crate::rlim_t = !0;
368
+ } else if #[cfg(all(
369
+ any(target_arch = "mips", target_arch = "mips32r6"),
370
371
+ not(linux_time_bits64)
372
373
pub const RLIM_INFINITY: crate::rlim_t = 0x7fffffff;
374
375
0 commit comments