Skip to content

Conversation

@epage
Copy link
Contributor

@epage epage commented Oct 23, 2025

This changes the parenthetical from bold to CONTEXT to match what
was done in #4556.

This does not remove the bolding of the item itself.
We could do that. I figured its fine for now since there is a clearer
meaning with installed than when you can have active and default
on separate items.

@epage epage mentioned this pull request Oct 23, 2025
@epage
Copy link
Contributor Author

epage commented Oct 23, 2025

Looks like some of the output ordering is non-determinstic which makes testing this more difficult. snapbox has .unordered() but that doesn't work well for SVG.

Is there a reason the output hasn't been made deterministic? I think in Cargo, the only time our output is non-deterministic is when dealing with threads.

@rami3l
Copy link
Member

rami3l commented Oct 24, 2025

@epage I think we might have some sort of misunderstanding here; it's not the output being nondeterministic, rather it's the output being platform-dependent. While we redact the host triple (which will of course be platform-dependent), the output is still strictly in alphanumerical order.

Can we, say, sort the redacted output before sending it to comparison?

This changes the parenthetical from `bold` to `CONTEXT` to match what
was done in rust-lang#4556.

This does not remove the bolding of the item itself.
We could do that. I figured its fine for now since there is a clearer
meaning with `installed` than when you can have `active` and `default`
on separate items.
@epage
Copy link
Contributor Author

epage commented Oct 24, 2025

Alright, here's hoping that this works

@rami3l rami3l added this pull request to the merge queue Oct 25, 2025
Merged via the queue into rust-lang:main with commit 59aec45 Oct 25, 2025
29 checks passed
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