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

Use fake.rs not /dev/null as fake source file #2851

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

illicitonion
Copy link
Collaborator

We store in the lockfile the path of this source file relative to the
package, and if we use an absolute path we end up encoding the depth of
your local git clone into the lockfile, which is non-determinstic across
machines.

Elsewhere we use fake.rs, let's use it here as well.

We store in the lockfile the path of this source file relative to the
package, and if we use an absolute path we end up encoding the depth of
your local git clone into the lockfile, which is non-determinstic across
machines.

Elsewhere we use fake.rs, let's use it here as well.
@UebelAndre
Copy link
Collaborator

UebelAndre commented Sep 10, 2024

Thanks! Maybe this is something we should warn users about if it leads to non-reproducible outputs on different machines.

@UebelAndre
Copy link
Collaborator

@illicitonion looks like CI failed 😞

@illicitonion illicitonion added this pull request to the merge queue Sep 10, 2024
Merged via the queue into bazelbuild:main with commit 2050351 Sep 10, 2024
4 checks passed
@illicitonion illicitonion deleted the fake-not-dev-null branch September 10, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants