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

Install prefix #945

Closed
cholcombe973 opened this issue Feb 8, 2017 · 3 comments
Closed

Install prefix #945

cholcombe973 opened this issue Feb 8, 2017 · 3 comments

Comments

@cholcombe973
Copy link

This new version of rustup no longer supports an install prefix. I need that for my automated builds in snappy.

@brson
Copy link
Contributor

brson commented Mar 17, 2017

rustup installs to two locations, represented by CARGO_HOME and RUSTUP_HOME, and that cannot be represented with a single prefix. To change where rustup installs, set both these variables while running rustup-init. Note though that these two environment variables must remain set during execution of the Rust toolchain.

I believe this is yet-undocumented, and there may be better interfaces.

cc #994

@cholcombe973
Copy link
Author

@brson thanks! I'll give this a shot soon. I think that'll solve my issue

@kornelski
Copy link
Contributor

kornelski commented Dec 23, 2018

BTW, snapcraft in Debian remains broken by this change. Since that's a built-in plugin, I don't have a way to fix it.

Given that Debian moves at glacial pace, this is going to remain defunct for a long time. It'll be best if Rustup re-added --prefix, --disable-sudo and --save, at least as no-ops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants