Skip to content

Compilation for mips : #1385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
apmanol opened this issue Jun 2, 2019 · 1 comment
Closed

Compilation for mips : #1385

apmanol opened this issue Jun 2, 2019 · 1 comment

Comments

@apmanol
Copy link

apmanol commented Jun 2, 2019

Compilation for mips :
nix-0.14 for broke too.

info: component 'rust-std' for target 'mips-unknown-linux-gnu' is up to date
   Compiling nix v0.14.0
error[E0425]: cannot find value `MADV_SOFT_OFFLINE` in module `libc`
   --> /.cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/nix-0.14.0/src/sys/mman.rs:143:9
    |
143 |         MADV_SOFT_OFFLINE,
    |         ^^^^^^^^^^^^^^^^^ not found in `libc`
help: possible candidate is found in another module, you can import it into scope
    |
1   | use sys::mman::MmapAdvise::MADV_SOFT_OFFLINE;
    |

error[E0081]: discriminant value `14` already exists
   --> /.cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/nix-0.14.0/src/macros.rs:197:26
    |
197 |                   $entry = libc::$entry,
    |                            ^^^^
    |                            |
    |                            first use of `14`
    |                            enum already has `14`
    |
   ::: /.cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/nix-0.14.0/src/sys/mman.rs:105:1
    |
105 | / libc_enum!{
106 | |     /// Usage information for a range of memory to allow for performance optimizations by the kernel.
107 | |     ///
108 | |     /// Used by [`madvise`](./fn.madvise.html).
...   |
187 | |     }
188 | | }
    | |_- in this macro invocation

error: aborting due to 2 previous errors


Originally posted by @apmanol in #1365 (comment)

@apmanol
Copy link
Author

apmanol commented Jun 2, 2019

sorry my bad, please delete this issue

@apmanol apmanol closed this as completed Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant