Skip to content

Question re rustdoc reproducibility #44

Description

@smoelius

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions