-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Merge the ctest2
repository into libc
#4361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add target_endian to the set of #[cfg()] items that are considered.
Add support for unions without typedefs
improve docs of cfg method
Being able to call `const fn` on stable is a relatively new addition. CC rust-lang#1075
Revert bump in the minimum supported Rust version
Minimal support for fn types in extern statics
Add support for arrays in extern statics
update libc test
Skip signedness checks for type aliases of non-integer types
fix: Declare explicit "C" ABI on `extern` blocks/fns
chore: Release v0.4.10
chore: Configure Renovate
@tgross35: no appropriate reviewer found, use |
Recreated from #4361 which GH closed on me |
047e4a1
to
e3e77b9
Compare
Absorb the `ctest2` project and its history into `libc`. Original HEAD: https://github.com/JohnTitor/ctest2.git Latest HEAD ref: 0563471
We will be able to publish the crate under the original `ctest` name, so update its name and URLS here.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
libc
's testing is pretty tightly coupled toctest2
, which is a reasonably simple crate that maps Rust syntax to C syntax and creates tests based off of that.ctest2
itself is a fork ofctest
.Unfortunately, relying on
ctest(2)
has been somewhat of a problem since it supports only a very outdated version of Rust's syntax, and there are a handful of other bugs. There have been some GSoC proposals to modernizelibc
and its test crates; movingctest
to a rust-lang repo makes that easier and should come with some maintenance benefits.On Zulip, Alex confirmed ownership of the original
ctest
crate could be transferred to rust-lang so we can continue publishing under that name, for other repos that make use ofctest
/ctest2
.This pull only brings over the repo source and history as it currently exists. I will need to follow up with integration of the CI and release workflows.