-
Notifications
You must be signed in to change notification settings - Fork 104
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
Prefixed 3rd party dependencies with cargo_raze__
to match existing…
#372
Conversation
… patterns and prevent conflicts in other repos
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.
generally looks good to me. Minor question though.
@@ -10,7 +10,7 @@ filegroup( | |||
configure_make( | |||
name = "iconv", | |||
configure_env_vars = select({ | |||
"@platforms//os:macos": {"AR": ""}, | |||
"@rules_rust//rust/platform:darwin": {"AR": ""}, |
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.
Is this change auto-generated, or manual? If manual, why go with rules_rust
's version, rather than just platforms
?
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.
Use of @platform
here isn't supported in versions before... 3.6 if I recall correctly. Using the rust config settings guarantees the same level of compatibility the rules offers.
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.
Specifically because @platforms
defines constraint_values and not config_settings.
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.
Looks like 3.7
select() directly supports constraint_value with no need for an intermediate config_setting.
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.
Opened #373
The 3rd party dependencies had their names updated to prevent any kinds of conflicts with other repository names. This should further improve the reproducibility of cargo-raze builds and tests.