Skip to content

ctest: allow variadics to be tested. - #5385

Open
mbyx wants to merge 1 commit into
rust-lang:mainfrom
mbyx:ctest-support-variadics
Open

ctest: allow variadics to be tested.#5385
mbyx wants to merge 1 commit into
rust-lang:mainfrom
mbyx:ctest-support-variadics

Conversation

@mbyx

@mbyx mbyx commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Description

Removes the check for variadics and adds support for translating variadic types between C and Rust.

While not used currently, might be useful down the line, especially if we ever decide to stop using void pointers for foreign function tests.

Closes #4367

Checklist

  • Relevant tests in libc-test/semver have been updated
  • Commit messages permalink to headers for added or changed API
  • Placeholder or unstable values like *LAST or *MAX have the standard
    doc comment
  • Tested locally (cargo test -p libc-test --target mytarget);
    especially relevant for platforms that may not be checked in CI

@rustbot label +stable-nominated

@rustbot rustbot added ctest Issues relating to the ctest crate S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ctest Issues relating to the ctest crate S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ctest: support varidics

2 participants