Skip to content

non-deterministic files in target/ dir #16692

@bmwiedemann

Description

@bmwiedemann

Problem

For debugging issues with (un-)reproducible builds, one common approach is to diff intermediate files of the build to get closer to the source of non-determinism.

However, there are currently some random variations in generated files in the target/ dir that make it harder to find the relevant diffs.

Steps

  1. cargo build && mv target{,.1} && cargo build && diff -u target{,.1}

Possible Solution(s)

PR #16691 addresses one part of these issues.
There is a 2nd change needed.

Notes

No response

Version

cargo 1.93.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions