Skip to content

Conversation

nrc
Copy link
Member

@nrc nrc commented Feb 22, 2021

I realise that cargo test is meant to be run using --all-features, however, this is not obvious the first time one runs tests because the error about the missing compat module happens first, and the helpful message about --all-features never gets output. With this change, we get far enough into compilation that you get to see the helpful error message, not the unhelpful ones. I believe this is an improvement to a contributors first experience (it would have saved me some time, for sure) and that outweighs the small noise of having the additional cfg lines.

@nrc nrc requested a review from taiki-e as a code owner February 22, 2021 03:42
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

That makes sense. Thanks!

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