Skip to content

Regenerate bindings to match libc cfg output#83

Merged
Nugine merged 2 commits intomainfrom
copilot/fix-ci-failure
Jan 25, 2026
Merged

Regenerate bindings to match libc cfg output#83
Nugine merged 2 commits intomainfrom
copilot/fix-ci-failure

Conversation

Copy link
Contributor

Copilot AI commented Jan 25, 2026

CI failed because the diff-codegen check detected generated bindings no longer matching upstream libc cfg output.

  • Generated bindings refresh
    • Regenerate src/bindings.rs to reflect updated libc configuration predicates.
#[cfg(all(
    any(
        target_os = "vxworks",
        all(target_os = "qurt", not(target_vendor = "apple")),
        all(
            unix,
            not(any(target_os = "qurt", target_os = "solid_asp3", target_os = "switch"))
        )
    ),
    // ...
))]
pub use libc::rlimit;
Original prompt

fix CI failure


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Nugine <30099658+Nugine@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix continuous integration failure Regenerate bindings to match libc cfg output Jan 25, 2026
Copilot AI requested a review from Nugine January 25, 2026 13:30
@Nugine Nugine marked this pull request as ready for review January 25, 2026 13:43
Copilot AI review requested due to automatic review settings January 25, 2026 13:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR regenerates the bindings file to synchronize with the latest libc crate configuration predicates, fixing a CI failure in the diff-codegen check.

Changes:

  • Updated cfg predicates for libc::rlimit to refine handling of target_os = "qurt" with vendor-specific conditions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Nugine Nugine merged commit 21e479b into main Jan 25, 2026
41 checks passed
@Nugine Nugine deleted the copilot/fix-ci-failure branch January 25, 2026 13:47
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

Successfully merging this pull request may close these issues.

3 participants