-
-
Notifications
You must be signed in to change notification settings - Fork 481
Move rustc_version dep to autocfg
#664
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
Conversation
dhardy
left a comment
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.
Shame the syntax is so much more clunky, but looks adequate.
|
I've proposed a slightly tweaked API which in theory could make this much more ergonomic, and it's fine to wait for the resolution of that! |
The `rustc_version` dependency is weighty and suffers from djc/rustc-version-rs#11 which makes it more difficult to change rustc over time.
d084a89 to
e59539b
Compare
rustc_version dep to version_checkrustc_version dep to autocfg
|
Ah I also discovered |
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.
This looks great! I think it should be merged.
|
Agreed! Thanks all. |
|
autocfg seems to hinders cross-compilation and workflows involving |
|
|
|
Oh yeah, forgot we are still on rand 0.6, sorry for the noise. |
The
rustc_versiondependency is weighty and suffers fromdjc/rustc-version-rs#11 which makes it more difficult to change
rustc over time.