Skip to content
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

Compilation error: unresolved imports libc::rlimit, libc::RLIMIT_NOFILE, libc::getrlimit #1

Open
miztizm opened this issue Jul 28, 2024 · 0 comments

Comments

@miztizm
Copy link

miztizm commented Jul 28, 2024

Description

I encountered a compilation error when trying to compile regresshion-check v0.3.2. The error indicates unresolved imports for libc::rlimit, libc::RLIMIT_NOFILE, and libc::getrlimit. on Windows

Error Message

Compiling tokio v1.39.2
Compiling regresshion-check v0.3.2 (C:\Users\xxxx\Downloads\regresshion-check)
error[E0432]: unresolved imports `libc::rlimit`, `libc::RLIMIT_NOFILE`, `libc::getrlimit`
  --> src/main.rs:14:12
   |
14 | use libc::{rlimit, RLIMIT_NOFILE, getrlimit};
   |            ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^ no `getrlimit` in the root
   |            |       |
   |            |       no `RLIMIT_NOFILE` in the root
   |            no `rlimit` in the root

For more information about this error, try `rustc --explain E0432`.
error: could not compile `regresshion-check` (bin "regresshion-check") due to 1 previous error
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