Skip to content
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

Question re rustdoc reproducibility #44

Open
smoelius opened this issue Nov 24, 2024 · 0 comments
Open

Question re rustdoc reproducibility #44

smoelius opened this issue Nov 24, 2024 · 0 comments

Comments

@smoelius
Copy link

When I run cargo rustdoc -- -Z unstable-options --output-format=json on the standard library on an Ubuntu machine, I get the same JSON file each time. This has held regardless of whether I run the command locally or on GitHub's ubuntu-latest runner.

If I add --target x86_64-unknown-linux-gnu and run the command on GitHub's macos-latest runner, I get a slightly different file.

Is this expected?

Generally speaking, what is required to ensure reproducibility of cargo rustdoc's JSON output?

Thank you in advance, and sorry if this is not the right place to ask these questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants