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

Cargo 0.28.0 and later break cargo-bloat for embedded #5955

Closed
therealprof opened this issue Aug 31, 2018 · 4 comments
Closed

Cargo 0.28.0 and later break cargo-bloat for embedded #5955

therealprof opened this issue Aug 31, 2018 · 4 comments

Comments

@therealprof
Copy link

As reported in RazrFalcon/cargo-bloat#25 I upgraded cargo-bloat to the latest version which also bumps the cargo dependency to 0.28.0 and this seemingly breaks cargo bloat for use on cross-compiled binaries. I verified that bumping the dependency to 0.29.0 does not address the issue while going back to 0.27.0 rectifies the problem.

@alexcrichton
Copy link
Member

Thanks for the report! We don't provide stability guarantees though about Cargo used through its library API. To that end we're happy to take PRs but we don't track the issues like this here unless it's a bug with Cargo-the-CLI

@therealprof
Copy link
Author

So this is it then? A valuable tool breaks, the author can't fix the problem because it's in a third party component and the authors of a third party component won't even look at the problem?

Frustrating...

@dwijnand
Copy link
Member

As a solution going forward, perhaps it's worth having a CI build (either during PR validation and/or a nightly build) that tests against latest/source cargo? The idea being that you would have forewarning when a breaking change lands.

Maybe it should be a best practice for cargo extensions (custom commands, or whatnot).

@therealprof
Copy link
Author

It's certainly a good idea to do that but I don't see how it addresses the problem. Say you're forewarned about an upcoming compatibility issue, what are the options? Staying on the old version indefinitely? And then let me ask the same question again but with the background that the tool we're talking about just so happened to work for embedded development without any intention to enable that use case in the first place.

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

No branches or pull requests

3 participants