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

Upgrade cargo independently #27

Open
brson opened this issue Feb 5, 2015 · 4 comments
Open

Upgrade cargo independently #27

brson opened this issue Feb 5, 2015 · 4 comments

Comments

@brson
Copy link
Owner

brson commented Feb 5, 2015

There may be good reason to upgrade Cargo beyond the version that comes with Rust.

@brson
Copy link
Owner Author

brson commented Feb 5, 2015

cc #25

@huonw
Copy link

huonw commented Feb 7, 2015

This would be enable one to more easily use cargo with a --link-local'd rustc which doesn't seem to have cargo by default?

@brson
Copy link
Owner Author

brson commented Feb 9, 2015

I'm not sure about that yet. Because --link-local just makes a symlink to some random directory, to install some other Cargo on top of that would probably mean putting Cargo into some special location, not just installing into the normal toolchain directory.

@brson
Copy link
Owner Author

brson commented Feb 21, 2015

Here's what I want to do.

First, change the .multirust/toolchains/{toolchain} directory to not directly contain the installation, because we need more room for multirust-specific metadata (#30).

Next, add a subdirectory .multirust/toolchain/{toolchain}/aux-install to hold another installation tree.

Next, add multirust update {toolchain} --add-cargo {date|tarball} to install the specified cargo to aux-install. Update multirustproxy to configure the environment correctly and call the correct bin.

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