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

Collect targets in a deterministic order #1736

Merged
merged 1 commit into from
Jan 1, 2023

Conversation

dtolnay
Copy link
Contributor

@dtolnay dtolnay commented Jan 1, 2023

Fixes the nondeterminism pointed out in #1735 (review).

Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I had one nit I was more curious if you'd come across a pattern for.

crate_universe/src/context/crate_context.rs Outdated Show resolved Hide resolved
@UebelAndre
Copy link
Collaborator

Good to merge after a rebase 😄

@dtolnay
Copy link
Contributor Author

dtolnay commented Jan 1, 2023

Rebased.

@dtolnay
Copy link
Contributor Author

dtolnay commented Jan 1, 2023

Failure in "Crate Universe Unnamed Examples on Windows (OpenJDK 11, VS2019)" appears unrelated.

(18:42:34) ERROR: C:/b/rfwvwffm/external/rust_windows_x86_64__x86_64-pc-windows-msvc__stable_tools/BUILD.bazel:89:15: Creating symlink bazel-out/x64_windows-fastbuild/bin/external/rust_windows_x86_64__x86_64-pc-windows-msvc__stable_tools/rust_toolchain/lib/rustlib/x86_64-pc-windows-msvc/lib/std-e33da769ef0fc5d8.dll failed: failed to create symbolic link 'bazel-out/x64_windows-fastbuild/bin/external/rust_windows_x86_64__x86_64-pc-windows-msvc__stable_tools/rust_toolchain/lib/rustlib/x86_64-pc-windows-msvc/lib/std-e33da769ef0fc5d8.dll' to 'external/rust_windows_x86_64__x86_64-pc-windows-msvc__stable_tools/lib/rustlib/x86_64-pc-windows-msvc/lib/std-e33da769ef0fc5d8.dll' due to I/O error: C:/b/rfwvwffm/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/external/rust_windows_x86_64__x86_64-pc-windows-msvc__stable_tools/rust_toolchain/lib/rustlib/x86_64-pc-windows-msvc/lib/std-e33da769ef0fc5d8.dll (Permission denied)

@dtolnay
Copy link
Contributor Author

dtolnay commented Jan 1, 2023

It passed after a retry.

@UebelAndre UebelAndre merged commit 532e60f into bazelbuild:main Jan 1, 2023
@dtolnay dtolnay deleted the deterministic branch January 1, 2023 18:56
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