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

Avoid the need to "make clean" manually when building Rust #2320

Closed
catamorphism opened this issue Apr 30, 2012 · 6 comments
Closed

Avoid the need to "make clean" manually when building Rust #2320

catamorphism opened this issue Apr 30, 2012 · 6 comments
Labels
A-linkage Area: linking into static, shared libraries and binaries

Comments

@catamorphism
Copy link
Contributor

Sometimes (perhaps when pulling patches, perhaps not), metadata gets out of date and isn't rebuilt automatically. #2318 is just one example. If the build system works properly, ideally it would never be necessary to manually "make clean".

This is confusing for a user since the error message (for example, "nonexhaustive match failure" in #2318) says nothing about how to fix the problem.

@msullivan
Copy link
Contributor

Do we have a procedure for reproducing this?

@gwillen
Copy link
Contributor

gwillen commented Jul 13, 2012

Well, if you check out a version that has 0.2 in the metadata, then make, then check out a version that has 0.3, then make check, the checks fail.

Also, make clean does not actually make very clean. I'm filing another bug about that.

@bblum
Copy link
Contributor

bblum commented Jun 21, 2013

I believe this is still an issue. Often even with just daily pulls from master, I get "multiple matching crates for std" and have to make clean.

This isn't a backwards-compatibility issue. Re-nominating for production-ready.

@brson
Copy link
Contributor

brson commented Jun 27, 2013

cc #2419

@pnkfelix
Copy link
Member

accepted for production ready

@emberian
Copy link
Member

I think @pnkfelix fixed this with #7637, closing

bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linkage Area: linking into static, shared libraries and binaries
Projects
None yet
Development

No branches or pull requests

7 participants