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 5c7670e commit c22d06dCopy full SHA for c22d06d
src/unix/linux_like/linux/arch/mips/mod.rs
@@ -292,9 +292,9 @@ cfg_if! {
292
}
293
294
cfg_if! {
295
- if #[cfg(target_arch = "mips",
296
- any(target_env = "gnu",
297
- target_env = "uclibc"))] {
+ if #[cfg(all(target_arch = "mips", target_env = "gnu"))] {
+ pub const RLIM_INFINITY: ::rlim_t = !0;
+ } else if #[cfg(all(target_arch = "mips", target_env = "uclibc"))] {
298
pub const RLIM_INFINITY: ::rlim_t = 0x7fffffff;
299
300
0 commit comments