-
Notifications
You must be signed in to change notification settings - Fork 69
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
Improve build.rs and some more. #220
Conversation
d6667de
to
10c4e9f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensuring user select exactly one device is great I think :)
How about changing those eprintln!(
"I've just found Rust's string literal support line breaking.\n\
\n\
We can keep indentation!!!."
); |
Oh, I've searched for a variation to keep the indentation as well. 😄 Thanks for the tip 👍 |
058f89d
to
f59b652
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some typo
As we are now using build.rs to check the feature selection, we can now make more sophisticated checks. Therefor we use build.rs to compare the selected features and the features in the Cargo.toml (via cargo_metadata), and verify, that only a single valid device feature is selected.
And additional documentation improvments
Co-authored-by: Piroro-hs <[email protected]>
Thanks for your review @Piroro-hs |
I had some ideas about the newly added build.rs and touched some documentation as well.
What do you think about this change, @Piroro-hs?