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 should be self-hosting #66

Closed
bkoropoff opened this issue Jun 26, 2014 · 1 comment
Closed

Cargo should be self-hosting #66

bkoropoff opened this issue Jun 26, 2014 · 1 comment

Comments

@bkoropoff
Copy link
Contributor

After updating rust, building cargo by running make fails due to not rebuilding dependencies:

mkdir -p target
rustc  -L libs/hammer.rs/target -L libs/toml-rs/build --out-dir target src/cargo/lib.rs
src/cargo/lib.rs:14:1: 14:21 error: found possibly newer version of crate `std` which `hammer` depends on
src/cargo/lib.rs:14 extern crate hammer;
                    ^~~~~~~~~~~~~~~~~~~~
src/cargo/lib.rs:14:1: 14:21 note: perhaps this crate needs to be recompiled?
src/cargo/lib.rs:14 extern crate hammer;
                    ^~~~~~~~~~~~~~~~~~~~

This seems like a job for cargo!

bkoropoff added a commit to bkoropoff/cargo that referenced this issue Jun 29, 2014
Add a basic Cargo manifest file so Cargo can build itself
@alexcrichton
Copy link
Member

This is indeed a problem that cargo should likely solve! Cargo is still a bit premature, however, and can't quite deal with building itself. Some steps that need to be taken to get to this point:

  • Nightly snapshots of cargo
  • Archived snapshots
  • Cross compilation

And there are likely more. These are all on the upcoming docket, so I'm going to close this for now as it's not too actionable.

This was referenced Jul 6, 2014
ehuss pushed a commit to ehuss/cargo that referenced this issue Nov 19, 2023
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

2 participants