Fix https://github.com/bazelbuild/rules_rust/issues/2231#3847
Fix https://github.com/bazelbuild/rules_rust/issues/2231#3847tshepherd-zoox wants to merge 1 commit intobazelbuild:mainfrom
Conversation
|
To elaborate, we saw the following message in our bazel repo: This patch fixes the logging in our internal builds. I believe this is the issue in #2231 as well. |
|
Can I check - which attrs are you intentionally ignoring that were previously being included before this change? |
|
Things like The solution I'm proposing is to opt- in to only the attributes used in the |
…REPOSITORY_ATTRS in reproducible attrs, not builtin attrs to repository_ctx.attr not added by us
|
Hi @illicitonion , any update on this? |
|
Ah, sorry I didn't see this. I implemented #3904 to solve the same issue. I'm gonna close this out but if there's another issue with the change that was merged I'd be happy to review another fix! |
The issue in #2231 is that we add too many attrs to the reproducible set:
This PR instead moves the
crates_repositoryattrs to a variable so that we can only include these in the reproducible set, silencing the debug logging during loading.Lmk if you have any questions. CLA should be covered by company CLA between Zoox and Google, I was told.