Skip to content
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

Use ctest2 instead of the original to fix warnings #68

Merged
merged 2 commits into from
Aug 27, 2020

Conversation

JohnTitor
Copy link
Member

I saw Josh opened this issue: gnzlbg/ctest#99
That's because we use ctest v0.1 here, it's outdated a bit. We could fix this issue by updating it to v0.2 but it will emit uninitialized errors, like this: https://github.com/JohnTitor/libz-sys/runs/1014401885
So, if you want to get rid of the warnings, I'd recommend using ctest2, which is a fork of ctest and has some fixes: https://github.com/JohnTitor/ctest2
I created this to use on the libc crate, but I hope this helps here as well :)

@@ -58,5 +58,5 @@ stock-zlib = []
# Deprecated: the assembly routines are outdated, and either reduce performance
# or cause segfaults.
asm = []
# Enable this feature if you want to have a staticly linked libz
# Enable this feature if you want to have a statically linked libz
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind splitting this into a separate commit?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, added 2c34725.

@joshtriplett
Copy link
Member

One minor nit, and otherwise, I'd love to merge this. Thanks for the fix!

@joshtriplett joshtriplett merged commit ae51e39 into rust-lang:main Aug 27, 2020
@joshtriplett
Copy link
Member

Thank you!

@JohnTitor JohnTitor deleted the ctest-0.2 branch August 27, 2020 12:11
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.

2 participants