Added determinism inspection workflow#3346
Added determinism inspection workflow#3346UebelAndre wants to merge 1 commit intobazelbuild:mainfrom
Conversation
223d1d6 to
3203b14
Compare
|
The windows side of this is running into bazelbuild/bazel#19710 And I ended up needing to switch the |
91b060b to
24616b6
Compare
|
Results show targets are not deterministic 😞 this is something we’ll have to fix over time https://github.com/bazelbuild/rules_rust/actions/runs/14020126362 |
|
@UebelAndre I'm very interested in this. I have a need for determinism, are you using |
Does |
f7c6a27 to
09ee401
Compare
6220b0f to
0bbad0e
Compare
This change adds a github workflow that generates a report of whether or not
rules_rustis deterministic on a particular platform.How it works:
The workflow checks out
mainofrules_rustand builds//...back to back from two different directories. Each output within theoutput_user_rootdirectory is hashed for each checkout and compared. Any hash which is not identical indicates a non-deterministic output.The workflow is currently configured to run on Linux, MacOS, and Windows.