Skip to content

libc 0.2.186 no nto80 branch #658

Description

@justinlooney

libc 0.2.186 defines TCP_KEEPALIVE / TCP_KEEPIDLE for target_env = "nto70" / "nto71" (QNX 7.0/7.1) but has no nto80 branch for QNX 8.0

Activity

  1. Darksonn commented on May 29, 2026

    @Darksonn
    Member

    What does libc have to say about this?

  2. Thomasdezeeuw commented on May 30, 2026

    @Thomasdezeeuw
    Collaborator

    @skarlsson you changed this in #654, but it doesn't seem to build. Could you take a look at this? Otherwise we'll have to revert it.

  3. Thomasdezeeuw commented on May 30, 2026

    @Thomasdezeeuw
    Collaborator

    The only documentation I can find it the following:

    Based on that I think the change is correct, but libc is missing the constant.

    For 7.0/7.1 TCP_KEEPALIVE is defined here: https://github.com/rust-lang/libc/blob/2364caf83be0f55ead8bd34dfb82cce66a17c387/src/unix/nto/mod.rs#L919. The solution might be as straightforward as adding the TCP_KEEPIDLE constant to the else branch there.

  4. Thomasdezeeuw commented on Oct 9, 2026

    @Thomasdezeeuw
    Collaborator

    I think this is fixed with 14f6c39, 0767b51 and 49d7a2f.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions