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 1a163c6 commit addcd64Copy full SHA for addcd64
src/unix/linux_like/linux/arch/mips/mod.rs
@@ -330,9 +330,12 @@ cfg_if! {
330
}
331
332
cfg_if! {
333
- if #[cfg(any(target_arch = "mips", target_arch = "mips32r6"),
334
- any(target_env = "gnu",
335
- target_env = "uclibc"))] {
+ if #[cfg(all(gnu_time64_abi, any(target_arch = "mips", target_arch = "mips32r6")))] {
+ pub const RLIM_INFINITY: ::rlim_t = !0;
+ } else if #[cfg(all(
336
+ any(target_arch = "mips", target_arch = "mips32r6"),
337
+ any(target_env = "uclibc", all(target_env = "gnu", not(gnu_time64_abi)))
338
+ ))] {
339
pub const RLIM_INFINITY: ::rlim_t = 0x7fffffff;
340
341
0 commit comments