I work in an organization that maintains all software in shared repositories accessible via NFS. In order to access said software, we have a system for defining a runtime environment based on a set of software versions configured particular task / role. A user accesses executables via a wrapper, which invokes an intermediate application to look up the runtime dependencies associated with a particular task / role, configure the environment appropriately, and then invoke the wrapped application in said initialized environment.
We do not allow individual developers to install software to their home directories. In fact, direct access to the internet is restricted to build machines and the like.
I don’t really see how to install rust and cargo in this scenario. Especially since I probably need to locate the various executables from ./cargo/bin in a different location than the rest of the .cargo contents. I have seen mention of CARGO_HOME and RUSTUP_HOME, but they aren’t granular enough for my needs ( or so it would seem )