-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Summarize differences with compiletest-rs? #13
Comments
So I wasn't alone in my compiletest-rs stability concerns, but you've given a lot more detail than I was aware of, thanks. I found converting my compile tests to trybuild straight forward: https://github.com/dekellum/tao-log/compare/2efb701a..70889823 ...and as a bonus I can now enable my tests on stable rust 1.35.0 and nightly. (Before 1.35.0, the rustc error messages under test are different.) Other minor differences I'll note from the fresh conversion experience:
So perhaps rust/src/tools/compiletest should also be mentioned in a Prior Art type summary? |
@dtolnay That's a pretty good description; would it make sense to list some of that directly in the readme? I believe most people who've stumbled upon this crate would be coming directly from compiletest-rs. |
61: Use trybuild instead of compiletest r=taiki-e a=taiki-e Refs: dtolnay/trybuild#13 Co-authored-by: Taiki Endo <te316e89@gmail.com>
19: Use trybuild instead of compiletest r=taiki-e a=taiki-e Refs: dtolnay/trybuild#13 Co-authored-by: Taiki Endo <te316e89@gmail.com>
I currently have an unmerged branch in one project (tao-log) using compiletest-rs for the same use case. Its unmerged because compiletest-rs appears, in my very limited experience, to be nightly-only and quite sensitive to ongoing changes in the rustc nightly builds.
Would it be reasonable to briefly summarize differences in design, approach or goals with trybuild, either here, or for example in a Prior Art or Alternatives section in the README?
The text was updated successfully, but these errors were encountered: