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

tests: Restructure not to fail compile w/o feature = "std" #49

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

kentfredric
Copy link
Contributor

Greetings fellow christchurchian, hope you're going OK with this lockdown :D

This patch allows:

cargo hack --feature-powerset test --tests

To pass.

Imports and Item definitions moved into their consuming functions
in order to simplify elimination of "used warnings" and make
feature-test interactions more obvious.

Presently, Doctests are too tricky to work out how to manage equivalents for.

This patch allows:

  cargo hack --feature-powerset test --tests

To pass.

Imports and Item definitions moved into their consuming functions
in order to simplify elimination of "used warnings" and make
feature-test interactions more obvious.

Doctests are too tricky to work out how to manage.
Copy link
Owner

@nrc nrc left a comment

Choose a reason for hiding this comment

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

lgtm, chur bro!

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