-
Notifications
You must be signed in to change notification settings - Fork 382
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
file_descriptor_proto_data changes each time #562
Comments
This is a significant issue. Can you provide a minimal example to reproduce the issue? Or at least, some |
Thank you for your response! I made a git repo for the test to reproduce the issue. Besides, my cargo&rustc is rustc 1.53.0 (53cb7b09b 2021-06-17). |
Tested in your repo with these changes:
|
Going to publish new version with fixes soon. Thank you for the repro command, sorry for the delay in fixing. |
Published 2.25.0. |
Hi all, I'm working on RB(reproducible building) of kata-agents
Some of code are based on rust-protobuf in
<kata-containers>/src/agent/protocols
I build the project via
cargo build
in dir<kata-containers>/src/agent/protocols
for many times, but each time the fieldfile_descriptor_proto_data
in the resulthealth.rs
file differs.Source code shows how
health.rs
is generatedHere
Codegen
refers tottrpc-codegen = "0.2.0"
, which calls related functions from rust-protobuf.The build logs are like below
the snapshot may help to understand details
I wonder whether here some hash functions or random sources are involved.
And to help deterministic/reproducible build, can you help to ensure that we can get same result
.rs
files from.proto
in the same environment?Thank you!
The text was updated successfully, but these errors were encountered: