Skip to content

Sort custom traits in TraitDerives for deterministic output.#999

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_913034231
Open

Sort custom traits in TraitDerives for deterministic output.#999
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_913034231

Conversation

@copybara-service
Copy link
Copy Markdown

Sort custom traits in TraitDerives for deterministic output.

This ensures that generated Rust #[derive(...)] attributes appear in a
deterministic order, avoiding remote cache misses caused by the
non-deterministic iteration order of absl::flat_hash_set.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 9, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This ensures that generated Rust `#[derive(...)]` attributes appear in a
deterministic order, avoiding remote cache misses caused by the
non-deterministic iteration order of `absl::flat_hash_set`.

PiperOrigin-RevId: 913034231
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.

0 participants