-
Notifications
You must be signed in to change notification settings - Fork 13.3k
cargo should install to ./.cargo by default instead of ~/.cargo #1756
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
Comments
+1 |
So when you want to install something onto your system path (if ~/.cargo/bin is on the path), just |
Not sure. It looks like npm has two modes, local, and global. local puts it into the current working directory, and global puts it at the install prefix. It doesn't even have a mode to put it under the user's directory. |
For Haskell, Cabal-Dev does sandboxed installs like that as a way to compensate for the hellish way that Cabal fails to support multiple versions of libraries and has no uninstall option. It is easy to use, but not simple (to borrow Rich Hickey's terminology). Can some of this dependency sandboxing be automated through import statements, rather than left as something every library user has to manually do? |
We have versioning. It's not complete, but it's an Actual Concept in rust linkage rules. |
I believe #1760 fixed this. |
…o start writing proofs (rust-lang#1756)
This is what
npm
does and it's pretty cool that it keeps all your projects isolated.The text was updated successfully, but these errors were encountered: