Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upConfigurable installation directory for binaries #1317
Comments
This comment has been minimized.
This comment has been minimized.
sbrl
commented
Dec 31, 2017
|
I second this. I'd like to install rustup, but I don't currently feel I can because I can't suitably control where rustup puts things. |
This comment has been minimized.
This comment has been minimized.
|
One complication is that rustup also manages |
This comment has been minimized.
This comment has been minimized.
|
There's already a long-term issue for configurable directories (#247) The specific motivation in this ticket is not particularly compelling: cargo is the tool which defines |
mzabaluev commentedDec 21, 2017
•
edited
As described in rust-lang/docker-rust#17,
$CARGO_HOME/binmay be a poor choice of installation directory for binaries inside a container, because users of the container image may want to bind-mount the entire$CARGO_HOMEto a host directory to preserve Cargo caches and authentication secrets between container runs. The installation location should be configurable, either with an environment variable or via$RUSTUP_HOME/settings.toml.