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

Add a helpful compiler message when user didn’t specify any backend features #3

Closed
janhohenheim opened this issue Mar 24, 2023 · 0 comments · Fixed by #5
Closed

Comments

@janhohenheim
Copy link

janhohenheim commented Mar 24, 2023

As far as I can tell, the crate doesn’t really do anything without a backend (correct me if I’m wrong).
Thus something along the following lines would be nice:

cfg!(not(any(feature = "…", feature = "…", …)))
compile_error!("A helpful message to the developer telling them to enable a feature")
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 a pull request may close this issue.

1 participant