-
Notifications
You must be signed in to change notification settings - Fork 446
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
fix stamp = 0
in rust_binary_without_process_wrapper
#1218
Conversation
Why not remove the stamping functionality entirely from the rule? There's already some unique logic for generating the attributes: |
stamp = 0
in rust_binary_without_process_wrapper
Thank you! Done. |
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 good to me, thanks!
There is https://github.com/hlopko/rules_rust/blob/19aa1216358e84a0bb538008d333e6356697c49f/rust/private/rustc.bzl#L944 that covers some attributes, and this PR handles @UebelAndre I actually wanted @scentini to take a look and give feedback before merging. I assumed that by adding them to reviewers this was implied. Would you prefer if I commented something in the spirit "reviewers, please don't merge until we all approve" in the future? |
Oh I misread the code, this is actually handling the issue quite nicely, thank you! |
Sorry, next time I'll wait. Wasn't sure what the procedure was. Now I know 😅 |
Stamping is not supported when building without process_wrapper:
rules_rust/rust/private/rustc.bzl
Line 955 in 8df4517