Skip to content

Ошибка при запуске reporter на Termux #8

@JarlPenguin

Description

@JarlPenguin

При попытке запустить reporter на Termux получаю следующую ошибку:

$ cargo run
   Compiling reporter v0.1.2 (/data/data/com.termux/files/home/cheburcheck/reporter)
error[E0425]: cannot find function `getdtablesize` in crate `libc`
   --> reporter/src/main.rs:130:56
    |
130 |         let file_limit: Option<usize> = unsafe { libc::getdtablesize() }.try_into().ok();
    |                                                        ^^^^^^^^^^^^^ not found in `libc`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `reporter` (bin "cheburchecker") due to 1 previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions