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

Different output on Windows and Linux #257

Open
tosti007 opened this issue Oct 14, 2024 · 1 comment
Open

Different output on Windows and Linux #257

tosti007 opened this issue Oct 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tosti007
Copy link

Describe the bug
When running cargo about generate on Windows (most of my collegues their system) vs Linux (our CI server) there seems to be a difference in sorting of the used_by list.

To Reproduce
Unfortunatly, I'm working in a closed source repo with a lot of dependencies, so I am unsure if I can directly repro this. The dependency in question that's sorted differently is winit.

Expected behavior
I expect the sorting to always be the same.

Device:

  • OS: Windows 11 and Debian (rust:bookworm-slim docker image)
  • Version: Both 0.6.4

Additional context
I also saw #202, but contrary to that issue this output seems to be 100% deterministic on both platforms. I don't have access to apple hardware atm, so could not check on that.

@tosti007 tosti007 added the bug Something isn't working label Oct 14, 2024
@tosti007 tosti007 changed the title Alternative output between Windows and Linux Different output on Windows and Linux Oct 14, 2024
@Jake-Shadle
Copy link
Member

The only thing I can think of is if you are using winit or another dependency as a path dependency in one case and not another, causing the sorting to be different between hosts. But that's only a guess with no repro, as all elements are always sorted before being rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants