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