rustup
rustup copied to clipboard
The Rust toolchain installer
### Problem With this rust-toolchain.toml: ```toml [toolchain] channel = "nightly-2021-12-08" components = ["rustfmt", "clippy", "rust-src"] targets = ["wasm32-unknown-unknown"] profile = "minimal" ``` I got this panic: ```text % cargo run...
### Problem Some terminals (including Windows Terminal) provide a mechanism for opening URLs in the default browser when you Ctrl-click on them. The help text for `rustup update` contains the...
*** Nothing to do with lock errors with ESP32 *** Running two builds in parallel with a linked toolchain on windows: ``` brian@DESKTOP-CODN6ST MINGW64 /c/Users/brian/Documents/dev/rls $ PATH="c:\Program Files\CMake\bin:$PATH" cargo +rust1-stage2...
### Problem Configuring the cargo path in the first section of the $PATH creates an extra insecurity on the system, as the comment says it's overriding the system binaries. It...
### Problem you are trying to solve Now that [rust-version](https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field) is stable it makes sense to have a CI task/job that asserts this commitment. In that case, one would need...
rustup-init.sh installs the incorrect rustc and other binaries because of a failure to detect arch. Problems: `/proc/self/exe` does not exist during docker build, so i686/386 etc is detected incorrectly as...
### Problem you are trying to solve Getting android targets to build out of the box. ### Solution you'd like Auto setup some variable so that cargo can link properly...
**Problem** Installing to a custom location works fine with `export CARGO_HOME=custom/.cargo export RUSTUP_HOME=custom/.rustup` .bashrc is then updated to source custom/.cargo/env. But then, if the latter file doesn't re-export the custom...
We already install zsh completions for cargo. It would be nice if rustup also installed the rustc zsh completions from [this repository](https://github.com/rust-lang/zsh-config).
### Problem rustup advertises RUSTUP_UNPACK_RAM in https://rust-lang.github.io/rustup/environment-variables.html?highlight=ram#environment-variables but it seems to do nothing ### Steps 1. rm -rf ~/.rustup 2. export RUSTUP_UNPACK_RAM=33554432; 3. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs |...