What is the clean way to upgrade to 1.5 ? I don't think there is some kind of 'rustup.sh upgrade' Delete 1.4 & reinstall ? Or downloading rustup 1.5 will apply a clean install on the existing one ?
What is the clean way to upgrade to 1.5 ? I don't think there is some kind of 'rustup.sh upgrade' Delete 1.4 & reinstall ? Or downloading rustup 1.5 will apply a clean install on the existing one ?
Generally speaking, installation is something we're working on: working with Linux package maintainers, rolling rustup and multirust together and making them work well cross-platform, etc.
Or is this it? https://hub.docker.com/r/jimmycuadra/rust/
Container images are great for daemons with possibly complicated dependency sets that might have conflicting version requirements with other packages and can benefit from isolation from other packages that containerization gives, but seem like a pretty heavyweight solution for just installing a compiler.
What I'm not seeing is the value of a Docker image. Rust doesn't have much in the way of runtime dependencies, which is where the value of a container generally comes in. I don't know of a platform where Docker image would work but rustup.sh would not.
Packages are of course preferable if available and up-to-date.
- It is common for languages to have official Docker images (Java, Ruby, Python, Go, Erlang, Haskell, Julia, etc)
- In August the install process didn't work on my Debian system, eventually got guidance for workarounds from IRC
- Our build farm is docker based, application deployment environment is docker based
- Ensures development environments are identical
- Solves the multiple compiler issue
As much as I use Docker, it'd be tough for me to call it heavyweight. In terms of resource consumption Docker is just a neat wrapper over some functionality that is built in to the kernel, there is no "vm" of any sort, which is a common misconception.
$ multirust update
$ multirust show-default
multirust: default toolchain: stable
multirust: default location: (...)
rustc 1.5.0 (3d7cd77e4 2015-12-04)
cargo 0.6.0-nightly (e1ed995 2015-10-22)
$ multirust list-toolchains
beta
nightly
stable
$ du -hs ~/.multirust/
996M /home/e12e/.multirust/Never heard of programming but you still want to compile a project?
Step 1: run rustup.sh (curl -sSf https://static.rust-lang.org/rustup.sh | sh)
Step 2: clone the repo of the project or your regional equivalent
Step 3: cargo build --release (or now with the new cargo install feature, cargo install)
Step 4: Enjoy