Skip to content

Function sem_init is not found on Redox with v3.5.0 #136

Description

@cakebaker

Hi,

I noticed in our CI that the new release, 3.5.0, fails on Redox with the following error:

Compiling ctrlc v3.5.0
error[E0425]: cannot find function `sem_init` in crate `nix::libc`
    --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ctrlc-3.5.0/src/platform/unix/mod.rs:19:20
     |
19   |         nix::libc::sem_init(&mut SEMAPHORE as *mut _, SEM_THREAD_SHARED, 0);
     |                    ^^^^^^^^ help: a function with a similar name exists: `res_init`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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